:root {
    color-scheme: light;
    --brand: #2B579A;
    --brand-dark: #204579;
    --brand-soft: #EDF3FB;
    --primary: var(--brand);
    --accent: #87B601;
    --accent-dark: #6E9600;
    --background: #F3F6FA;
    --surface: #FFFFFF;
    --text: #172033;
    --text-secondary: #5B6475;
    --muted: var(--text-secondary);
    --border: #DCE3EC;
    --warning: #FDB022;
    --warning-bg: #FFF4E5;
    --danger: #B42318;
    --danger-bg: #FEF3F2;
    --success: #039855;
    --success-bg: #ECFDF3;
    --shadow: 0 1px 3px rgba(23, 32, 51, .08), 0 8px 24px rgba(43, 87, 154, .04);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; margin: 0; }

body { background: var(--background); color: var(--text); line-height: 1.45; }

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: 1.75rem; line-height: 1.2; letter-spacing: -.02em; }
h1:focus { outline: none; }
h2 { margin-bottom: 3px; font-size: 1.08rem; }
p { color: var(--text-secondary); }

.app-shell { min-height: 100vh; display: flex; }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    width: 244px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid var(--border);
}

.brand { height: 72px; display: flex; align-items: center; gap: 11px; padding: 0 20px; text-decoration: none; border-bottom: 1px solid var(--border); }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .03em; box-shadow: 0 4px 10px rgba(43, 87, 154, .2); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-size: 1.03rem; color: var(--brand); }
.brand-copy small { margin-top: 4px; color: var(--text-secondary); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.main-navigation { flex: 1; overflow-y: auto; padding: 14px 11px; }
.nav-section { display: grid; gap: 3px; margin-bottom: 18px; }
.nav-caption { padding: 7px 11px 4px; color: #8A94A6; font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.main-navigation a { min-height: 38px; display: flex; align-items: center; gap: 11px; padding: 8px 11px; border-radius: 6px; color: #495468; text-decoration: none; font-size: .88rem; font-weight: 500; transition: background .15s, color .15s; }
.main-navigation a:hover { color: var(--brand); background: #F5F8FC; }
.main-navigation a.active { color: var(--brand); background: var(--brand-soft); font-weight: 650; box-shadow: inset 3px 0 var(--brand); }
.nav-icon { width: 20px; color: #778195; font-size: 1.1rem; line-height: 1; text-align: center; }
.main-navigation a.active .nav-icon { color: var(--brand); }
.sidebar-footer { display: flex; align-items: center; gap: 8px; padding: 17px 22px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: .75rem; }
.environment-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(135, 182, 1, .13); }

.workspace { min-width: 0; width: calc(100% - 244px); margin-left: 244px; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 15; backdrop-filter: blur(8px); }
.topbar-context { display: flex; align-items: center; gap: 11px; font-size: .82rem; }
.topbar-product { color: var(--text); font-weight: 650; }
.topbar-environment { color: var(--text-secondary); }
.topbar-divider { width: 1px; height: 18px; background: var(--border); }
.topbar-ticket-context { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }.topbar-ticket-context::before { content: "←"; display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; color: var(--brand); border: 1px solid #c5d4e7; border-radius: 6px; background: #f7faff; font-weight: 850; }.topbar-ticket-context:hover::before { border-color: #9fb9d9; background: var(--brand-soft); }.topbar-ticket-context-static::before { display: none; }.topbar-ticket-number { color: var(--brand); font-size: .72rem; font-weight: 850; letter-spacing: .06em; white-space: nowrap; }.topbar-ticket-context > strong { max-width: min(31vw,430px); overflow: hidden; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }.topbar-ticket-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: #334155; border: 1px solid color-mix(in srgb,var(--ticket-status-color) 35%,#dce3ec); border-radius: 999px; background: color-mix(in srgb,var(--ticket-status-color) 8%,#fff); font-size: .68rem; font-weight: 800; white-space: nowrap; }.topbar-ticket-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ticket-status-color); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.admin-quick-menu { position: relative; }
.admin-quick-menu summary { min-height: 38px; display: flex; align-items: center; gap: 7px; padding: 7px 11px; color: var(--brand); background: var(--brand-soft); border: 1px solid #C9D8EB; border-radius: 7px; cursor: pointer; font-size: .75rem; font-weight: 700; list-style: none; user-select: none; }
.admin-quick-menu summary::-webkit-details-marker { display: none; }
.admin-quick-menu summary:hover, .admin-quick-menu[open] summary { border-color: #9CB6D5; background: #E5EEF9; }
.admin-menu-icon { font-size: .9rem; }.admin-menu-chevron { color: #71809A; font-size: .8rem; }
.admin-quick-menu nav { position: absolute; top: calc(100% + 9px); right: 0; width: 280px; overflow: hidden; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 9px; box-shadow: 0 16px 38px rgba(23,32,51,.18); }
.admin-quick-menu nav a { display: flex; flex-direction: column; gap: 3px; padding: 10px 11px; color: var(--text); border-radius: 6px; text-decoration: none; }
.admin-quick-menu nav a:hover { color: var(--brand); background: var(--brand-soft); }
.admin-quick-menu nav strong { font-size: .76rem; }.admin-quick-menu nav small { color: var(--text-secondary); font-size: .66rem; font-weight: 400; }
.operator-chip { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 6px; border: 1px solid var(--border); border-radius: 7px; background: #fff; }
.operator-identity { display: flex; flex-direction: column; line-height: 1.15; }
.operator-chip strong { font-size: .78rem; }
.operator-chip small { margin-top: 3px; color: var(--text-secondary); font-size: .68rem; }
.operator-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.operator-menu { display: flex; align-items: center; gap: 5px; }
.operator-menu form { margin: 0; }
.account-quick-menu { position: relative; }
.account-quick-menu summary { list-style: none; cursor: pointer; user-select: none; }.account-quick-menu summary::-webkit-details-marker { display: none; }
.account-quick-menu[open] summary, .account-quick-menu summary:hover { border-color: #B9CBE1; background: var(--brand-soft); }
.account-menu-chevron { color: #71809A; font-size: .75rem; }
.account-quick-menu nav { position: absolute; top: calc(100% + 9px); right: 0; width: 235px; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 9px; box-shadow: 0 16px 38px rgba(23,32,51,.18); }
.account-quick-menu nav a { display: flex; flex-direction: column; gap: 3px; padding: 10px 11px; color: var(--text); border-radius: 6px; text-decoration: none; }.account-quick-menu nav a:hover { color: var(--brand); background: var(--brand-soft); }.account-quick-menu nav strong { font-size: .76rem; }.account-quick-menu nav small { color: var(--text-secondary); font-size: .66rem; }
.operator-login { color: var(--text); text-decoration: none; }
.operator-login:hover { border-color: #B9CBE1; background: var(--brand-soft); }
.logout-button { width: 34px; height: 34px; display: grid; place-items: center; color: #667085; background: transparent; border: 0; border-radius: 5px; cursor: pointer; font-size: 1rem; }
.logout-button:hover { color: var(--danger); background: var(--danger-bg); }
.content-area { max-width: 1780px; margin: 0 auto; padding: 27px 30px 50px; }

.login-shell { min-height: 100vh; display: grid; grid-template-rows: 72px 1fr auto; background: radial-gradient(circle at 82% 12%, rgba(43,87,154,.11), transparent 32%), var(--background); }
.login-header { display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--border); }
.login-header .brand { height: 72px; padding: 0; border: 0; }
.login-header > span { color: var(--text-secondary); font-size: .75rem; }
.login-stage { display: grid; place-items: center; padding: 42px 20px; }
.login-card { width: min(430px, 100%); padding: 27px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 14px 40px rgba(43,87,154,.12); }
.login-card-heading { margin-bottom: 22px; text-align: center; }
.login-card-heading h1 { margin-bottom: 5px; }
.login-card-heading p { margin: 0; font-size: .82rem; }
.login-symbol { width: 47px; height: 47px; display: grid; place-items: center; margin: 0 auto 16px; color: #fff; background: var(--brand); border-radius: 9px; box-shadow: 0 6px 14px rgba(43,87,154,.22); font-size: .8rem; font-weight: 800; }
.login-form { display: grid; gap: 15px; }
.remember-field { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: .74rem; cursor: pointer; }
.remember-field input { width: 15px; height: 15px; accent-color: var(--brand); }
.login-help { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid var(--border); font-size: .7rem; text-align: center; }
.login-footer { padding: 17px; color: #8992A3; font-size: .68rem; text-align: center; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 21px; }
.page-heading p { margin: 0; font-size: .9rem; }
.eyebrow { display: block; margin-bottom: 5px; color: var(--brand); font-size: .67rem; font-weight: 750; letter-spacing: .11em; }
.muted { color: var(--text-secondary); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; box-shadow: var(--shadow); }
.card-header { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 19px; border-bottom: 1px solid var(--border); }
.card-header h2, .card-header p { margin: 0; }
.card-header p { margin-top: 3px; font-size: .77rem; }
.card-header > div:has(.card-icon) { position: relative; padding-left: 48px; }
.card-icon { position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 7px; font-weight: 800; }
.card-icon.blue { color: var(--brand); background: var(--brand-soft); }
.card-icon.green { color: var(--accent-dark); background: #F4F9E7; }

.button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 14px; border: 1px solid transparent; border-radius: 5px; font-size: .82rem; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(43, 87, 154, .18); outline-offset: 1px; }
.button:disabled { opacity: .48; cursor: not-allowed; }
.button-primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.button-primary:hover:not(:disabled) { background: var(--brand-dark); box-shadow: 0 3px 9px rgba(43, 87, 154, .2); }
.button-secondary { color: var(--brand); background: #fff; border-color: #B9C9DC; }
.button-secondary:hover:not(:disabled) { background: var(--brand-soft); border-color: var(--brand); }
.button-ghost { color: var(--brand); background: transparent; }
.button-block { width: 100%; }

.notice { display: flex; align-items: center; gap: 9px; margin: 16px 0; padding: 11px 14px; border: 1px solid var(--border); border-radius: 7px; font-size: .82rem; }
.notice-neutral { color: #475467; background: #F8FAFC; }
.notice-success { color: #027A48; background: var(--success-bg); border-color: #ABEFC6; }
.notice-warning { color: #93370D; background: var(--warning-bg); border-color: #FEDF89; }
.notice-danger { color: var(--danger); background: var(--danger-bg); border-color: #FECDCA; }
.notice.small { margin: 0; font-size: .76rem; }
.duplicate-client-match { justify-content: space-between; align-items: center; }
.duplicate-client-match > div { min-width: 0; }
.duplicate-client-match small { display: block; margin-top: 3px; color: inherit; }
.duplicate-client-match .button { flex: 0 0 auto; white-space: nowrap; }
.spinner { width: 15px; height: 15px; flex: 0 0 auto; border: 2px solid #B6C7DC; border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.setup-banner { min-height: 104px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-bottom: 20px; padding: 19px 21px; background: linear-gradient(105deg, #F5F9FF, #FFF); border: 1px solid #C9D9EB; border-left: 4px solid var(--brand); border-radius: 8px; box-shadow: var(--shadow); }
.setup-banner h2, .setup-banner p { margin: 0; }
.setup-banner p { margin-top: 4px; font-size: .82rem; }
.setup-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: 9px; font-size: .7rem; font-weight: 800; letter-spacing: .05em; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 14px; margin-bottom: 17px; }
.kpi-card { position: relative; min-height: 118px; display: flex; flex-direction: column; padding: 17px 18px; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.kpi-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--brand); opacity: .82; }
.kpi-card.kpi-accent::before { background: var(--accent); opacity: 1; }
.kpi-card.kpi-danger::before { background: var(--danger); opacity: 1; }
.kpi-card > span { color: var(--text-secondary); font-size: .76rem; font-weight: 600; }
.kpi-card strong { margin: 7px 0 3px; font-size: 1.75rem; font-weight: 650; line-height: 1; }
.kpi-card small { margin-top: auto; color: #8992A3; font-size: .7rem; }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }

.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--text-secondary); }
.empty-state.compact { min-height: 190px; padding: 24px; }
.empty-state p { max-width: 420px; margin: 5px 0 0; font-size: .78rem; }
.empty-state-icon { min-width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 9px; padding: 0 8px; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: .75rem; font-weight: 700; }
.page-empty { min-height: 65vh; }
.page-empty h1 { margin: 0; }
.page-empty .button { margin-top: 18px; }
.pipeline-placeholder { height: 169px; display: flex; align-items: flex-end; gap: 9px; padding: 28px 23px 14px; border-bottom: 1px solid #EEF1F5; }
.pipeline-placeholder span { flex: 1; height: var(--bar); min-height: 12px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #4D77B3, var(--brand)); opacity: .85; }
.pipeline-placeholder span:nth-child(n+4) { background: linear-gradient(180deg, #A9CF3B, var(--accent)); }
.chart-legend { display: flex; gap: 18px; padding: 11px 20px; color: var(--text-secondary); font-size: .7rem; }
.dot { width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; }
.dot.blue { background: var(--brand); }.dot.green { background: var(--accent); }

.settings-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr); gap: 17px; }
.form-card form, .form-card > .field, .form-card > .detail-list, .form-card > .notice, .form-card > .button { margin-left: 19px; margin-right: 19px; }
.form-card form { margin-top: 19px; margin-bottom: 19px; }
.form-card > .field:first-of-type { margin-top: 19px; }
.form-card > .button:last-child { margin-bottom: 19px; width: calc(100% - 38px); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two-columns { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { color: #344054; font-size: .76rem; font-weight: 650; }
.field > small { margin-top: -2px; color: #8992A3; font-size: .68rem; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .search-box input { width: 100%; height: 38px; padding: 7px 10px; color: var(--text); background: #fff; border: 1px solid #C8D1DE; border-radius: 5px; }
.field input:hover { border-color: #AAB7C8; }
.field input:disabled, fieldset:disabled input { color: #667085; background: #F8FAFC; }
.searchable-lookup-select { position: relative; min-width: 0; }.searchable-lookup-control { display: grid; grid-template-columns: minmax(0,1fr) 34px; }.searchable-lookup-control input { width: 100%; height: 38px; min-width: 0; padding: 7px 10px; color: var(--text); background: #fff; border: 1px solid #c8d1de; border-right: 0; border-radius: 5px 0 0 5px; }.searchable-lookup-control button { height: 38px; padding: 0; color: var(--brand); background: #f7faff; border: 1px solid #c8d1de; border-radius: 0 5px 5px 0; cursor: pointer; font-size: 1rem; }.searchable-lookup-select.open .searchable-lookup-control input,.searchable-lookup-select.open .searchable-lookup-control button { border-color: #7ea3cf; box-shadow: 0 0 0 2px rgba(43,87,154,.08); }.searchable-lookup-options { position: absolute; top: calc(100% + 4px); right: 0; left: 0; z-index: 35; max-height: var(--searchable-lookup-max-height,260px); overscroll-behavior: contain; overflow-y: auto; padding: 5px; background: #fff; border: 1px solid #b9c8da; border-radius: 7px; box-shadow: 0 14px 34px rgba(24,39,68,.18); }.searchable-lookup-select.drop-up .searchable-lookup-options { top: auto; bottom: calc(100% + 4px); box-shadow: 0 -14px 34px rgba(24,39,68,.18); }.searchable-lookup-options button { width: 100%; min-height: 34px; display: block; padding: 7px 9px; color: var(--text); background: transparent; border: 0; border-radius: 5px; cursor: pointer; text-align: left; }.searchable-lookup-options button:hover,.searchable-lookup-options button.selected { color: var(--brand); background: var(--brand-soft); }.searchable-lookup-empty { display: block; padding: 9px; color: var(--text-secondary); font-size: .72rem; }
.checkbox-field { display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 6px; background: #FAFCFE; cursor: pointer; }
.checkbox-field input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--brand); }
.checkbox-field span { display: flex; flex-direction: column; font-size: .78rem; }
.checkbox-field small { margin-top: 2px; color: var(--text-secondary); }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.validation-message, .validation-errors { color: var(--danger); font-size: .72rem; }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 2px rgba(185, 28, 28, .08); }
.date-time-input-error { display: block; margin-top: 4px; }
.serbian-datetime-control { position: relative; width: 100%; }.serbian-datetime-control > input[type="text"] { padding-right: 42px; }.date-time-picker-trigger { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; display: grid; place-items: center; color: var(--brand); background: #F2F6FB; border: 1px solid #C8D5E5; border-radius: 4px; font-size: .9rem; font-weight: 800; cursor: pointer; }.date-time-picker-trigger:hover, .date-time-picker-trigger[aria-expanded="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }.date-time-picker-popover { position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; width: min(600px, 86vw); display: grid; gap: 9px; padding: 12px; color: var(--text); background: #fff; border: 1px solid #BCC9D9; border-radius: 8px; box-shadow: 0 16px 38px rgba(23,32,51,.22); }.date-time-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.date-time-picker-heading > strong { font-size: .76rem; }.date-time-picker-heading > button { width: 25px; height: 25px; color: #667085; background: transparent; border: 0; border-radius: 4px; cursor: pointer; }.date-time-picker-heading > button:hover { color: var(--danger); background: var(--danger-bg); }.field .native-date-time-picker, .native-date-time-picker { width: 100%; height: 38px; padding: 7px 9px; color: var(--text); background: #fff; border: 1px solid #AEBED1; border-radius: 5px; color-scheme: light; }.date-time-picker-popover > small { color: var(--text-secondary); font-size: .63rem; }.date-time-picker-actions { display: flex; justify-content: flex-end; }.calendar-schedule-context { display: grid; gap: 7px; padding-top: 8px; border-top: 1px solid var(--border); }.calendar-schedule-context > div:first-child { display: flex; flex-direction: column; gap: 2px; }.calendar-schedule-context > div:first-child strong { font-size: .71rem; }.calendar-schedule-context > div:first-child small { color: var(--text-secondary); font-size: .62rem; }.calendar-schedule-list { max-height: 230px; display: grid; gap: 5px; overflow-y: auto; }.calendar-schedule-list article { display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 2px 8px; padding: 7px 8px; background: #F7F9FC; border: 1px solid #E3E9F1; border-left: 3px solid #98A2B3; border-radius: 5px; }.calendar-schedule-list article.same-day { background: #FFF9E8; border-color: #F6D78B; border-left-color: #F79009; }.calendar-schedule-time { grid-row: 1 / 3; align-self: center; color: var(--brand); font-size: .64rem; font-weight: 750; white-space: nowrap; }.calendar-schedule-list article > strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: .68rem; white-space: nowrap; }.calendar-schedule-list article > small { color: var(--text-secondary); font-size: .61rem; overflow-wrap: anywhere; }.transition-task-note { min-height: 36px; display: flex; align-items: center; margin: 0; padding: 7px 9px; }
.date-only-picker-popover { width: min(420px,calc(100vw - 32px)); }
.calendar-conflict-warning { display: grid; gap: 2px; padding: 7px 9px; color: #9B2C16; background: #FFF4ED; border: 1px solid #FFB088; border-radius: 5px; }
.calendar-conflict-warning strong { font-size: .7rem; }
.calendar-conflict-warning span { font-size: .62rem; line-height: 1.35; }
.calendar-parallel-info { display: grid; gap: 3px; padding: 7px 9px; color: #175CD3; background: #EFF8FF; border: 1px solid #B2DDFF; border-radius: 5px; }
.calendar-parallel-info strong { font-size: .7rem; }
.calendar-parallel-info span, .calendar-parallel-info small { font-size: .62rem; line-height: 1.35; }
.calendar-parallel-info small { color: #475467; }
.team-schedule-card .card-header { align-items: flex-start; }
.team-schedule-card .card-header h2 { margin-top: 3px; font-size: .88rem; }
.team-schedule-card .card-header p { margin-top: 2px; }
.team-schedule-list { display: grid; gap: 6px; padding: 10px 12px 12px; }
.team-schedule-list article { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 8px; align-items: center; padding: 8px; background: #F5F9FF; border: 1px solid #D5E4F5; border-left: 3px solid #2E5EA7; border-radius: 5px; }
.team-schedule-list time { color: var(--brand); font-size: .62rem; font-weight: 750; }
.team-schedule-list article > div { min-width: 0; display: grid; gap: 2px; }
.team-schedule-list strong { overflow: hidden; text-overflow: ellipsis; font-size: .68rem; white-space: nowrap; }
.team-schedule-list span { color: var(--text-secondary); font-size: .61rem; }
.date-time-picker-popover { position: fixed; top: 50%; left: 50%; right: auto; z-index: 80; width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; transform: translate(-50%, -50%); }
.serbian-calendar-toolbar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; gap: 8px; }
.serbian-calendar-toolbar strong { text-align: center; text-transform: capitalize; font-size: .78rem; }
.serbian-calendar-toolbar button { height: 30px; color: var(--brand); background: #F2F6FB; border: 1px solid #C8D5E5; border-radius: 4px; cursor: pointer; font-size: 1rem; }
.serbian-calendar-weekdays, .serbian-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.serbian-calendar-weekdays span { color: var(--text-secondary); text-align: center; font-size: .61rem; font-weight: 750; }
.serbian-calendar-weekdays span:nth-child(6), .serbian-calendar-weekdays span:nth-child(7) { padding: 3px 0; color: #9f2922; background: #fff0ef; border-radius: 4px; }
.serbian-calendar-grid button { height: 30px; color: var(--text); background: #fff; border: 1px solid #E1E7EF; border-radius: 4px; cursor: pointer; font-size: .68rem; }
.serbian-calendar-grid button:hover { color: var(--brand); background: #EEF4FC; border-color: #AFC4DF; }
.serbian-calendar-grid button.outside-month { color: #98A2B3; background: #F8FAFC; }
.serbian-calendar-grid button.weekend { color: #8f2923; background: #fff0ef; border-color: #f2c7c3; }
.serbian-calendar-grid button.weekend:hover { color: #7a201b; background: #fee4e2; border-color: #dc8f88; }
.serbian-calendar-grid button.today { border-color: #2E5EA7; box-shadow: inset 0 0 0 1px #2E5EA7; }
.serbian-calendar-grid button.selected { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: none; }
.serbian-calendar-grid button.weekend.selected { color: #7a201b; background: #fee4e2; border-color: #2E5EA7; box-shadow: inset 0 0 0 1px #2E5EA7; font-weight: 800; }
.serbian-time-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.serbian-time-picker label { display: grid; gap: 4px; }
.serbian-time-picker label span { color: var(--text-secondary); font-size: .62rem; font-weight: 700; }
.serbian-time-picker select { width: 100%; height: 34px; padding: 5px 8px; color: var(--text); background: #fff; border: 1px solid #AEBED1; border-radius: 4px; }
.serbian-time-picker:has(label:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.calendar-work-hours-warning { display: grid; gap: 2px; padding: 7px 9px; color: #9B2C16; background: #FFF4ED; border: 1px solid #FFB088; border-radius: 5px; }
.calendar-work-hours-warning strong { font-size: .7rem; }
.calendar-work-hours-warning span { font-size: .62rem; }
.calendar-work-hours-inline-warning { display: block; margin-top: 4px; color: #9b2c16; font-size: .62rem; font-weight: 700; }
.calendar-weekend-warning { display: grid; gap: 2px; margin-top: 7px; padding: 7px 9px; color: #8f2923; background: #fff0ef; border: 1px solid #efb6b1; border-radius: 5px; }.calendar-weekend-warning strong { font-size: .7rem; }.calendar-weekend-warning span { font-size: .62rem; }.calendar-weekend-inline-warning { display: block; margin-top: 4px; color: #a1322b; font-size: .62rem; font-weight: 700; }
.validation-errors { margin: 0 0 14px; padding: 10px 28px; background: var(--danger-bg); border-radius: 5px; }
.invalid { border-color: var(--danger) !important; }
.valid.modified:not([type=checkbox]) { border-color: var(--success) !important; }
.diagnostics-card { align-self: start; }
.diagnostic-loading { min-height: 120px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text-secondary); font-size: .8rem; }
.diagnostic-result { display: flex; gap: 11px; margin: 17px; padding: 13px; border: 1px solid var(--border); border-radius: 7px; }
.diagnostic-result p { margin: 3px 0 0; font-size: .75rem; }
.diagnostic-result.success { color: #027A48; background: var(--success-bg); border-color: #ABEFC6; }
.diagnostic-result.warning { color: #93370D; background: var(--warning-bg); border-color: #FEDF89; }
.diagnostic-result.danger { color: var(--danger); background: var(--danger-bg); border-color: #FECDCA; }
.diagnostic-mark { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-weight: 800; }
.detail-list { margin: 0 17px 17px; font-size: .76rem; }
.detail-list > div { display: grid; grid-template-columns: 105px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid #EEF1F5; }
.detail-list dt { color: var(--text-secondary); }.detail-list dd { margin: 0; overflow-wrap: anywhere; text-align: right; font-weight: 600; }
.diagnostics-card > .button { width: calc(100% - 34px); margin: 0 17px 17px; }
.restore-choice { margin: 0 17px 17px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: .74rem; text-align: center; }
.restore-choice .button { margin-top: 8px; }
.status-pill { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; }
.status-pill.success { color: #027A48; background: var(--success-bg); }.status-pill.warning { color: #93370D; background: var(--warning-bg); }.status-pill.danger { color: var(--danger); background: var(--danger-bg); }.status-pill.info { color: #175c91; background: #e8f3fc; }.status-pill.neutral { color: #475467; background: #EAECF0; }
.info-strip { display: flex; align-items: flex-start; gap: 12px; margin-top: 17px; padding: 14px 16px; color: #344054; background: var(--brand-soft); border: 1px solid #C9D9EB; border-radius: 7px; }
.info-strip p { margin: 3px 0 0; font-size: .76rem; }
.info-icon { width: 23px; height: 23px; flex: 0 0 auto; display: grid; place-items: center; color: var(--brand); background: #fff; border: 1px solid #B9CBE1; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.first-admin-card { margin-top: 17px; }
.first-admin-card form { margin: 19px; }
.first-admin-card > .notice { margin: 0 19px 19px; }
.admin-grid { grid-template-columns: repeat(3, 1fr); }

.toolbar { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; padding: 10px; }
.toolbar-spacer { flex: 1; }
.search-box { min-width: 290px; position: relative; display: flex; align-items: center; }
.search-box > span { position: absolute; left: 11px; color: #778195; font-size: 1.1rem; }
.search-box input { padding-left: 34px; background: #FAFBFC; }
.filter-button { min-height: 36px; padding: 7px 11px; color: #475467; background: #fff; border: 1px solid #C8D1DE; border-radius: 5px; font-size: .76rem; }
.filter-button:disabled, .search-box input:disabled { opacity: .75; }
.kanban-page-heading { align-items: center; margin-bottom: 5px; }
.kanban-page-heading .eyebrow { margin-bottom: 1px; font-size: .6rem; }
.kanban-page-heading h1 { margin-bottom: 0; font-size: 1.35rem; line-height: 1.12; }
.kanban-page-heading p { font-size: .68rem; line-height: 1.25; }
.kanban-page-heading .button { min-height: 31px; padding: 5px 11px; font-size: .72rem; }
.kanban-toolbar { min-height: 38px; margin-bottom: 5px; padding: 4px 7px; }
.kanban-toolbar .search-box { flex: 0 1 640px; width: clamp(390px,42vw,640px); }
.kanban-toolbar .search-box input { height: 30px; }
.kanban-toolbar .button { min-height: 29px; padding: 4px 9px; font-size: .7rem; }
.kanban-toolbar .muted { font-size: .7rem; }
.kanban-board { height: auto; min-height: 0; flex: 1; display: flex; align-items: stretch; gap: 7px; overflow-x: auto; overscroll-behavior-x: contain; padding: 1px 1px 8px; scrollbar-color: #B9C5D5 transparent; }
.content-area:has(> .kanban-page-heading) { height: calc(100dvh - 72px); min-height: 0; max-width: none; display: flex; overflow: hidden; box-sizing: border-box; flex-direction: column; padding: 14px 18px 8px; }
.kanban-column { width: clamp(212px,10.5vw,248px); min-width: clamp(212px,10.5vw,248px); height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: #EAF0F6; border: 1px solid #D5DEE9; border-top: 3px solid var(--status-color); border-radius: 7px; }
.kanban-board.is-dragging .kanban-column { transition: opacity .12s, border-color .12s, box-shadow .12s, background .12s; }
.kanban-board.is-dragging .kanban-column.drag-allowed { background: #F0F7FF; border-color: #8FB1D9; box-shadow: inset 0 0 0 2px rgba(43,87,154,.12); }
.kanban-board.is-dragging .kanban-column.drag-blocked { opacity: .48; }
.kanban-board.is-dragging .kanban-column.drag-allowed.drop-hover { background: #E5F0FC; border-color: var(--brand); box-shadow: inset 0 0 0 3px rgba(43,87,154,.24); }
.kanban-column header { min-height: 49px; display: flex; align-items: center; gap: 7px; padding: 5px 9px; background: rgba(255,255,255,.7); border-bottom: 1px solid #D5DEE9; font-size: .72rem; }
.kanban-column header strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kanban-status-copy { flex: 1; min-width: 0; }
.kanban-status-copy small { display: block; margin-top: 2px; color: #667085; font-size: .57rem; line-height: 1.15; white-space: normal; }
.status-rule-details { min-width: 340px; max-width: 520px; padding: 10px 0; color: #475467; }
.status-rule-details strong { display: block; color: #1D2939; font-size: .72rem; }
.status-rule-details p { margin: 2px 0 9px; line-height: 1.35; }
.status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--status-color); }
.count-badge { min-width: 21px; padding: 2px 6px; color: #667085; background: #fff; border-radius: 10px; font-size: .65rem; text-align: center; white-space: nowrap; }
.material-location-picker { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; align-items: stretch; }.material-file-button { position: relative; min-width: 128px; justify-content: center; overflow: hidden; cursor: pointer; }.material-file-button > span:first-child { font-size: 1rem; }.material-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.selected-material-file { display: grid; grid-template-columns: 28px minmax(0,1fr) 28px; align-items: center; gap: 8px; margin-top: 7px; padding: 7px 9px; color: #214f88; background: #eef5fd; border: 1px solid #b9cee6; border-radius: 7px; }.selected-material-file > span { display: grid; place-items: center; width: 26px; height: 26px; background: #fff; border-radius: 6px; font-weight: 900; }.selected-material-file strong,.selected-material-file small { display: block; }.selected-material-file strong { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }.selected-material-file small { margin-top: 2px; color: var(--muted); font-size: .61rem; }.selected-material-file button { width: 28px; height: 28px; color: #68788d; background: transparent; border: 0; border-radius: 5px; cursor: pointer; font-size: 1.1rem; }.selected-material-file button:hover { color: var(--danger); background: var(--danger-bg); }
.material-tag-manager-toggle { display: inline-flex; margin-top: 9px; }.material-tag-manager { display: grid; grid-template-columns: minmax(210px,.75fr) minmax(190px,.65fr) minmax(260px,1.2fr) auto; align-items: end; gap: 9px; margin: 10px 18px 4px; padding: 11px; background: #f3f8fe; border: 1px solid #aec5df; border-radius: 8px; }.material-tag-manager > div:first-child { align-self: center; }.material-tag-manager strong,.material-tag-manager small { display: block; }.material-tag-manager small { margin-top: 3px; color: var(--muted); font-size: .63rem; line-height: 1.35; }.material-tag-manager .field { margin: 0; }
.kanban-empty { margin: 6px; padding: 12px 6px; color: #8A94A6; background: rgba(255,255,255,.52); border: 1px dashed #C5D0DD; border-radius: 6px; font-size: .68rem; text-align: center; }
.kanban-cards { flex: 1; min-height: 0; display: grid; align-content: start; gap: 6px; padding: 6px; overflow-y: auto; scrollbar-width: thin; }
.ticket-card { padding: 8px; background: #fff; border: 1px solid #D6DFEA; border-radius: 6px; box-shadow: 0 1px 2px rgba(23,32,51,.05); cursor: pointer; }
.ticket-card[draggable="true"] { cursor: grab; }
.ticket-card[draggable="true"]:active { cursor: grabbing; }
.ticket-card:hover { border-color: #AABDD4; box-shadow: 0 4px 10px rgba(43,87,154,.08); }
.ticket-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ticket-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ticket-number { color: var(--brand); font-family: Consolas, monospace; font-size: .66rem; font-weight: 700; }
.ticket-card-link { color: inherit; text-decoration: none; }.ticket-card-link:hover { color: var(--brand); }
.priority { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 7px; border: 1px solid transparent; border-radius: 999px; font-size: .61rem; font-weight: 750; white-space: nowrap; }
.priority-1 { color: #B42318; background: #FEF3F2; border-color: #FECDCA; }.priority-2 { color: #B54708; background: #FFFAEB; border-color: #FEDF89; }.priority-3 { color: #175CD3; background: #EFF8FF; border-color: #B2DDFF; }.priority-4 { color: #475467; background: #F2F4F7; border-color: #D0D5DD; }
.ticket-card h3 { margin: 5px 0 1px; font-size: .76rem; line-height: 1.25; }
.ticket-client { margin: 0; font-size: .69rem; }
.ticket-next { display: flex; align-items: flex-start; gap: 5px; margin: 6px 0; padding: 5px 6px; color: #475467; background: #F8FAFC; border-radius: 4px; font-size: .63rem; }
.ticket-next > span:last-child { display: flex; flex-direction: column; }.ticket-next small { margin-top: 2px; color: #8992A3; font-size: .61rem; }
.ticket-card footer { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; border-top: 1px solid #EEF1F5; font-size: .62rem; }
.owner-mini { width: 21px; height: 21px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: .53rem; font-weight: 750; }
.ticket-move-button { width: 100%; margin-top: 8px; padding: 6px; color: var(--brand); background: #F8FAFC; border: 1px solid #D6DFEA; border-radius: 4px; font-size: .65rem; font-weight: 650; cursor: pointer; }
.ticket-move-button:hover { background: var(--brand-soft); border-color: #A9C0DC; }
.ticket-form-card { width: 100%; max-width: none; }
.ticket-form-card .card-header { min-height: 56px; padding: 12px 16px; }
.ticket-form-card form { margin: 14px 16px 16px; }
.ticket-form-card .form-grid { gap: 10px 12px; }
.ticket-form-card .field { gap: 4px; }
.ticket-form-card .field input, .ticket-form-card .field select { height: 36px; }
.ticket-create-sequence { display: grid; gap: 18px; }
.ticket-create-ticket { padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.ticket-import-grid { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 12px; }
.ticket-import-source { display: grid; gap: 10px; }
.ticket-import-meta { display: grid; grid-template-columns: minmax(210px,1.05fr) minmax(210px,1fr) minmax(230px,1.15fr) minmax(150px,.65fr); align-items: start; gap: 10px 12px; padding: 10px 12px; background: #f7f9fc; border: 1px solid var(--border); border-radius: 8px; }
.ticket-import-meta .field small { min-height: 13px; }
.ticket-import-result { margin: 0; }
.ticket-create-followup { display: grid; grid-template-columns: 1fr; gap: 17px; }
.ticket-create-task { min-width: 0; padding-top: 16px; border-top: 1px solid var(--border); }
.ticket-create-task .ticket-task-grid { grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); }
.first-task-field { min-width: 0; }.first-task-field .guide-suggestions { margin-top: 4px; }
.ticket-create-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(440px, .9fr); align-items: start; gap: 18px; }
.ticket-create-client, .ticket-create-side { min-width: 0; }
.ticket-create-side { padding-left: 18px; border-left: 1px solid var(--border); }
.ticket-client-grid, .ticket-contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ticket-opportunity-grid, .ticket-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field textarea { width: 100%; min-height: 90px; resize: vertical; padding: 8px 10px; color: var(--text); background: #fff; border: 1px solid #C8D1DE; border-radius: 5px; }
.ticket-description-field textarea { min-height: 180px; line-height: 1.45; }
.compact-note-field textarea { min-height: 62px; }
.client-note-field textarea { min-height: 100px; resize: vertical; }
textarea.auto-grow-textarea { field-sizing: content; width: 100%; max-height: min(52vh, 520px); overflow-y: auto; resize: vertical; }
.client-note-field textarea.auto-grow-textarea { max-height: min(44vh, 420px); }
.ticket-create-warning { width: min(650px,100%); }.ticket-create-warning-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }.ticket-create-warning-list li { position: relative; padding: 9px 11px 9px 32px; color: #7a4a00; background: #fff8e8; border: 1px solid #f2d08a; border-radius: 6px; font-size: .78rem; }.ticket-create-warning-list li::before { content: "!"; position: absolute; top: 8px; left: 10px; display: grid; place-items: center; width: 15px; height: 15px; color: #fff; background: #d48a00; border-radius: 50%; font-size: .62rem; font-weight: 900; }
.form-section-heading { display: flex; align-items: center; gap: 10px; margin: 17px 0 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.form-section-heading.first-section { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section-heading > div { display: flex; flex-direction: column; }.form-section-heading strong { font-size: .8rem; }.form-section-heading small { margin-top: 2px; color: var(--text-secondary); font-size: .68rem; }
.client-mode-switch { display: inline-flex; gap: 4px; margin-bottom: 13px; padding: 4px; background: #EEF2F7; border: 1px solid var(--border); border-radius: 8px; }
.client-mode-switch button { min-height: 34px; padding: 7px 13px; color: #667085; background: transparent; border: 0; border-radius: 5px; cursor: pointer; font-size: .72rem; font-weight: 650; }.client-mode-switch button:hover { color: var(--brand); }.client-mode-switch button.active { color: var(--brand); background: #fff; box-shadow: 0 1px 4px rgba(23,32,51,.12); }
.client-entry-panel { padding: 12px; background: #FAFCFE; border: 1px solid var(--border); border-radius: 8px; }.existing-client-panel { max-width: 720px; }.inline-subsection-heading { display: flex; flex-direction: column; margin: 13px 0 9px; padding-top: 11px; border-top: 1px solid var(--border); }.inline-subsection-heading strong { font-size: .78rem; }.inline-subsection-heading small { margin-top: 2px; color: var(--text-secondary); font-size: .67rem; }
.section-number { width: 27px; height: 27px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-size: .68rem; font-weight: 750; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(23,32,51,.44); backdrop-filter: blur(2px); }
.modal-card { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 9px; box-shadow: 0 20px 50px rgba(23,32,51,.25); }
.modal-card > header, .modal-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.modal-card > header h2 { margin: 0; }.modal-card > footer { justify-content: flex-end; border-top: 1px solid var(--border); border-bottom: 0; }
.modal-close { width: 31px; height: 31px; display: grid; place-items: center; color: #667085; background: transparent; border: 0; border-radius: 5px; font-size: 1.2rem; cursor: pointer; }.modal-close:hover { color: var(--danger); background: var(--danger-bg); }
.modal-body { display: grid; gap: 15px; padding: 18px; }
.button-danger { color: #fff; background: #b83b34; border-color: #b83b34; }.button-danger:hover { color: #fff; background: #9f2f29; border-color: #9f2f29; }
.ticket-edit-modal { width: min(1040px, 100%); }
.ticket-edit-modal > header, .ticket-edit-modal > footer { padding: 13px 16px; }
.ticket-edit-body { gap: 10px; padding: 14px 16px; }
.ticket-edit-section { padding: 0 2px; }
.ticket-edit-client-grid, .ticket-edit-contact-grid, .ticket-edit-ticket-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 10px 12px; }
.ticket-edit-section .form-section-heading { margin-top: 9px; padding-top: 10px; }
.ticket-edit-description { grid-column: 1 / -1; }
.ticket-edit-description textarea { min-height: 210px; line-height: 1.5; }
.current-status { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; color: var(--text-secondary); background: #F8FAFC; border-radius: 6px; font-size: .73rem; }.current-status strong { color: var(--text); }
.status-transition-modal { width: min(980px, 100%); }
.status-transition-modal > header, .status-transition-modal > footer { position: sticky; z-index: 3; background: #fff; }
.status-transition-modal > header { top: 0; }.status-transition-modal > footer { bottom: 0; }
.status-transition-body { gap: 10px; padding: 13px 16px; }
.transition-status-summary { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 10px; padding: 9px 11px; color: #475467; background: #F5F8FC; border: 1px solid var(--border); border-radius: 6px; font-size: .7rem; }
.transition-status-summary strong { color: var(--text); font-size: .76rem; }.transition-status-summary small { color: var(--text-secondary); white-space: nowrap; }
.transition-form-section { padding: 11px 12px 12px; background: #FBFCFE; border: 1px solid var(--border); border-radius: 7px; }
.transition-form-section h3 { margin: 0 0 9px; color: var(--brand); font-size: .72rem; letter-spacing: .02em; }
.transition-contact-picker { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; }.transition-contact-picker select { min-width: 0; }.transition-inline-contact { padding: 11px 12px; border: 1px solid #a9bed9; border-radius: 7px; background: #f3f8fe; }.transition-inline-contact-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 9px; }.transition-inline-contact-heading strong,.transition-inline-contact-heading small { display: block; }.transition-inline-contact-heading small { margin-top: 2px; color: var(--muted); }.transition-inline-contact-heading > button { width: 28px; height: 28px; padding: 0; color: var(--muted); border: 0; border-radius: 5px; background: transparent; cursor: pointer; font-size: 1.2rem; }.transition-inline-contact-actions { display: flex; align-items: end; justify-content: flex-end; gap: 6px; }
.transition-form-grid { display: grid; align-items: end; gap: 9px 11px; }.transition-form-grid.two-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }.transition-form-grid.three-columns { grid-template-columns: repeat(3,minmax(0,1fr)); }.transition-form-grid.four-columns { grid-template-columns: repeat(4,minmax(0,1fr)); }
.transition-form-grid .field { gap: 4px; }.transition-form-grid .field input,.transition-form-grid .field select { height: 36px; }.transition-form-grid .field textarea { min-height: 58px; }
.transition-form-grid.transition-next-task-grid { grid-template-columns: minmax(320px,1.8fr) minmax(180px,.85fr) minmax(220px,1fr); align-items: start; }.transition-next-task-grid .field > small { line-height: 1.35; }
.transition-form-grid .span-all { grid-column: 1 / -1; }.checkbox-field.compact { min-height: 36px; align-items: center; margin: 0; padding: 8px 10px; }
.transition-blockers { display: block; }.transition-blockers > span { display: block; margin-top: 4px; }.transition-blockers ul { margin: 5px 0 7px 18px; padding: 0; }.transition-blockers li + li { margin-top: 3px; }.transition-blockers a { color: inherit; font-weight: 850; }

.table-card { overflow: hidden; }
.table-toolbar { min-height: 58px; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .76rem; }
.data-table th { height: 38px; padding: 8px 12px; color: #667085; background: #F7F9FC; border-bottom: 1px solid var(--border); font-size: .66rem; font-weight: 700; letter-spacing: .045em; text-align: left; white-space: nowrap; }
.data-table td { min-width: 105px; padding: 9px 12px; border-bottom: 1px solid #EEF1F5; }
.data-table td[colspan] { padding: 0; }
.lookup-maintenance-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px 18px; }.lookup-toolbar-grid { min-width: 0; display: grid; grid-template-columns: minmax(210px,.8fr) minmax(300px,1.7fr) minmax(150px,.55fr) minmax(150px,.55fr); align-items: end; gap: 10px; }.lookup-toolbar-summary { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 6px; min-width: 235px; color: var(--text-secondary); }.lookup-toolbar-summary strong { color: var(--brand); font-size: 1.15rem; }.lookup-toolbar-summary small { grid-column: 1 / -1; max-width: 360px; line-height: 1.45; }.lookup-maintenance-table .data-table td { vertical-align: middle; }.lookup-row-inactive { color: #7c8798; background: #fafbfc; }.lookup-row-inactive strong { color: #667085; }.lookup-actions { min-width: 270px !important; display: flex; align-items: center; gap: 5px; white-space: nowrap; }.lookup-actions .button:disabled { opacity: .45; cursor: not-allowed; }.lookup-editor-modal { width: min(680px,100%); }.lookup-delete-modal { width: min(590px,100%); }.lookup-editor-identity { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 9px; padding: 10px 12px; color: var(--text-secondary); background: #f7f9fc; border: 1px solid var(--border); border-radius: 7px; }.lookup-editor-identity strong { justify-self: start; }.lookup-editor-identity small { grid-column: 1 / -1; }
.goal-suggestion-admin-toolbar .lookup-toolbar-grid { grid-template-columns: minmax(220px,.85fr) minmax(300px,1.5fr) minmax(150px,.55fr); }
.goal-suggestion-admin-table .data-table td { vertical-align: top; }
.goal-suggestion-admin-table .data-table td:nth-child(3) { min-width: 300px; }
.goal-suggestion-admin-table .data-table td:nth-child(4) { min-width: 320px; color: var(--text-secondary); }
.goal-suggestion-editor-modal { width: min(720px,100%); }
.goal-suggestions-empty { display: block; margin-top: 5px; color: var(--text-secondary); font-size: .76rem; line-height: 1.4; }
.operator-cell { min-width: 210px; display: flex; align-items: center; gap: 9px; }
.operator-cell > span:last-child { display: flex; flex-direction: column; }
.operator-cell strong { font-size: .78rem; }.operator-cell small { margin-top: 2px; color: var(--text-secondary); font-size: .68rem; }
.table-avatar { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 6px; font-size: .68rem; font-weight: 750; }
.code-value { padding: 3px 6px; color: #344054; background: #F2F4F7; border-radius: 4px; font-family: Consolas, monospace; font-size: .7rem; }
.role-list { min-width: 180px; display: flex; flex-wrap: wrap; gap: 4px; }
.role-badge { display: inline-flex; padding: 3px 7px; color: #344054; background: #F2F4F7; border: 1px solid #E4E7EC; border-radius: 999px; font-size: .65rem; white-space: nowrap; }
.operator-form-card { max-width: 920px; }
.roles-editor { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--border); }
.field-title { display: block; margin-bottom: 9px; color: #344054; font-size: .76rem; font-weight: 650; }
.role-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.role-option { min-height: 68px; display: flex; align-items: flex-start; gap: 9px; padding: 11px; background: #FAFCFE; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
.role-option:has(input:checked) { background: var(--brand-soft); border-color: #A9C0DC; }
.role-option input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--brand); }
.role-option > span { display: flex; flex-direction: column; }.role-option strong { font-size: .75rem; }.role-option small { margin-top: 3px; color: var(--text-secondary); font-size: .67rem; }
.readonly-input { color: #667085 !important; background: #F2F4F7 !important; cursor: not-allowed; }
.reactivate-option { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 13px; color: #344054; background: var(--success-bg); border: 1px solid #A6F4C5; border-radius: 7px; cursor: pointer; }
.reactivate-option input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); }.reactivate-option > span { display: flex; flex-direction: column; }.reactivate-option strong { font-size: .76rem; }.reactivate-option small { margin-top: 3px; color: #667085; font-size: .68rem; }
.profile-readonly { display: grid; gap: 8px; margin-top: 18px; padding: 14px; background: #F8FAFC; border: 1px solid var(--border); border-radius: 7px; }.profile-readonly > span { color: #667085; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }.profile-readonly .role-list { margin: 0; }
.password-editor { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }.password-editor h3 { margin-bottom: 4px; font-size: .9rem; }.password-editor > p { margin: 0 0 14px; font-size: .72rem; }
.backup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-bottom: 17px; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 20px; list-style: none; }
.process-list li { position: relative; display: flex; gap: 10px; padding: 0 15px; }
.process-list li:not(:last-child)::after { content: ""; position: absolute; top: 14px; right: -2px; width: 18px; height: 1px; background: #BFCADA; }
.process-list li > span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: .72rem; font-weight: 800; }
.process-list strong { font-size: .76rem; }.process-list p { margin: 3px 0 0; font-size: .69rem; }

.task-kpi-grid { grid-template-columns: repeat(5, minmax(140px, 1fr)); margin-bottom: 16px; }

.phone-link { align-items: center; background: transparent; border: 0; color: #174f9c; cursor: pointer; display: inline-flex; font: inherit; gap: 8px; padding: 0; text-align: left; }
.phone-link:hover .phone-link-number { text-decoration: underline; }
.phone-link:focus-visible { border-radius: 4px; outline: 2px solid #2b579a; outline-offset: 3px; }
.phone-link-number { font-weight: 700; }
.phone-link-action { background: #edf4ff; border: 1px solid #c7d8ee; border-radius: 999px; color: #174f9c; font-size: 11px; font-weight: 700; padding: 3px 8px; white-space: nowrap; }
.scope-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: 8px; box-shadow: var(--shadow); }.scope-toolbar > div { display: grid; gap: 2px; }.scope-toolbar strong { font-size: .82rem; }.scope-toolbar small { color: var(--text-secondary); font-size: .66rem; }
.filter-button.active { color: var(--brand); background: var(--brand-soft); border-color: #A9C0DC; font-weight: 650; }
.task-table td { vertical-align: middle; }
.task-table tbody tr { transition: background .12s; }.task-table .task-row { cursor: pointer; }
.task-table tbody tr:hover { background: #FAFCFE; }
.task-table .overdue-row { background: #FFFBFA; }
.dashboard-task-meta { display: flex !important; align-items: center; gap: 6px; }
.task-badge-line { display: flex; align-items: center; gap: 5px; }.task-badge-line .status-pill { min-height: 22px; padding: 2px 7px; font-size: .61rem; }
.task-title-cell, .task-ticket-context, .task-status-context, .task-owner-context { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }.task-title-cell { min-width: 170px; }.task-title-cell > strong, .task-title-cell > small, .task-ticket-context > strong, .task-ticket-context > small { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.task-title-cell > small, .task-ticket-context > small, .task-status-context > small, .task-owner-context > small { color: var(--text-secondary); font-size: .63rem; font-weight: 400; }.task-ticket-link { color: var(--brand); font-family: Consolas, monospace; font-size: .7rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }.task-ticket-link:hover { color: var(--brand-dark); }.task-status-context { min-width: 145px; }.task-owner-context { min-width: 155px; }
.due-cell { min-width: 120px; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; font-weight: 650; }
.due-cell small, .table-subtitle { display: block; margin-top: 3px; color: var(--text-secondary); font-size: .65rem; font-weight: 400; }
.due-cell.overdue { color: var(--danger); }
.operator-inline { min-width: 155px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.table-actions { min-width: 150px !important; text-align: right; white-space: nowrap; }
.table-actions .button + .button { margin-left: 5px; }
.button-compact { min-height: 30px; padding: 5px 10px; font-size: .7rem; }
.compact-select { display: flex; align-items: center; gap: 7px; color: var(--text-secondary); font-size: .7rem; }
.compact-select select { height: 36px; min-width: 155px; padding: 6px 27px 6px 9px; color: var(--text); background: #fff; border: 1px solid #C8D1DE; border-radius: 5px; }
.task-complete-modal { width: min(820px,100%); }.task-context-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.task-context-grid > div { display: grid; gap: 3px; padding: 10px 11px; background: #f7f9fc; border: 1px solid #e1e7ef; border-radius: 6px; }.task-context-grid span { color: var(--text-secondary); font-size: .62rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }.task-context-grid strong { font-size: .73rem; }.remaining-task-list { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 7px; }.remaining-task-list > strong { padding: 8px 10px; background: #f3f6fa; font-size: .68rem; }.remaining-task-list > div { display: grid; grid-template-columns: 8px minmax(0,1fr); align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid #edf0f4; }.remaining-task-list > div > div { display: grid; gap: 2px; }.remaining-task-list strong { font-size: .7rem; }.remaining-task-list small { color: var(--text-secondary); font-size: .62rem; }.status-dot.danger { background: var(--danger); }.status-dot.neutral { background: #98a2b3; }.followup-toggle { width: 100%; display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 9px; padding: 10px 11px; text-align: left; color: var(--text); background: #f7faff; border: 1px solid #cbd9ea; border-radius: 7px; cursor: pointer; }.followup-toggle > span { display: grid; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--brand); border-radius: 50%; font-size: 1rem; font-weight: 800; }.followup-toggle > div { display: grid; gap: 2px; }.followup-toggle strong { font-size: .74rem; }.followup-toggle small { color: var(--text-secondary); font-size: .64rem; }.followup-editor { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 12px; background: #fbfcfe; border: 1px solid var(--border); border-radius: 7px; }
.task-transfer-picker { display: grid; gap: 8px; padding-top: 8px; border-top: 1px solid var(--border); }.task-transfer-picker > div:first-child { display: grid; gap: 3px; }.task-transfer-picker > div:first-child strong { font-size: .75rem; }.task-transfer-picker > div:first-child small { color: var(--text-secondary); font-size: .66rem; }.task-transfer-picker .checkbox-field { margin: 0; }
.tickets-table { min-width: 1280px; }
.ticket-table-number { color: var(--brand); font-family: Consolas, monospace; font-size: .7rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ticket-title-link { min-width: 210px; display: inline-block; color: var(--text); font-weight: 650; text-decoration: none; }.ticket-title-link:hover, .ticket-table-number:hover { text-decoration: underline; }
.ticket-status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; color: #344054; background: color-mix(in srgb, var(--ticket-status) 10%, white); border: 1px solid color-mix(in srgb, var(--ticket-status) 28%, white); border-radius: 999px; font-size: .67rem; font-weight: 650; white-space: nowrap; }
.ticket-status-pill > span { width: 7px; height: 7px; background: var(--ticket-status); border-radius: 50%; }.ticket-status-pill.large { padding: 6px 10px; font-size: .73rem; }
.proforma-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 4px 8px; color: #8A4B0F; background: #FFF6E8; border: 1px solid #F5C77A; border-radius: 999px; font-size: .65rem; font-weight: 700; white-space: nowrap; }
.proforma-badge.sent { color: #087454; background: #ECFDF3; border-color: #86E9BC; }
.proforma-badge.compact { min-width: 25px; min-height: 25px; justify-content: center; padding: 3px 6px; }
.proforma-icon { font-size: .85rem; line-height: 1; }
.ticket-card-badges { display: flex; align-items: center; gap: 5px; }
.ticket-proforma-button { width: 100%; min-height: 28px; margin-top: 7px; color: #8A4B0F; background: #FFF9F0; border: 1px dashed #E8B45D; border-radius: 5px; font-size: .65rem; font-weight: 700; cursor: pointer; }
.ticket-proforma-button:hover { background: #FFF1D7; border-style: solid; }
.proforma-modal { width: min(620px,100%); }
.proforma-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.proforma-summary div { display: grid; gap: 3px; padding: 9px; background: #F8FAFC; border: 1px solid var(--border); border-radius: 6px; }.proforma-summary span { color: var(--text-secondary); font-size: .62rem; }.proforma-summary strong { font-size: .72rem; overflow-wrap: anywhere; }
.timeline-proforma-icon { width: 18px; height: 18px; display: grid; place-items: center; color: #8A4B0F; background: #FFF6E8; border: 1px solid #F5C77A; border-radius: 50%; z-index: 1; font-size: .65rem; font-weight: 800; }
.proforma-queue { margin-bottom: 17px; overflow: hidden; border-top: 3px solid #D98916; }
.proforma-queue .data-table { min-width: 1120px; }
.proforma-mail-toolbar { display: grid; grid-template-columns: minmax(270px,1fr) auto auto auto; align-items: end; gap: 10px; padding: 11px 14px; background: #F8FAFC; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proforma-recipient { margin: 0; }.proforma-recipient small { display: block; margin-top: 3px; color: var(--text-secondary); font-size: .62rem; }
.proforma-selection-summary { min-width: 88px; display: grid; justify-items: center; padding: 5px 10px; background: white; border: 1px solid var(--border); border-radius: 6px; }.proforma-selection-summary span,.proforma-selection-summary small { color: var(--text-secondary); font-size: .6rem; }.proforma-selection-summary strong { color: var(--brand); font-size: 1rem; }
.selection-column { width: 38px; min-width: 38px; text-align: center !important; }.selection-column input { width: 17px; height: 17px; accent-color: var(--brand); cursor: pointer; }.selection-column input:disabled { cursor: not-allowed; opacity: .45; }
.data-table tr.selected-row td { background: #F0F6FF; }
.proforma-missing { display: block; max-width: 210px; margin-top: 3px; color: var(--danger); font-size: .62rem; }
.proforma-sent-history { margin-bottom: 17px; overflow: hidden; }.proforma-sent-history > summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; cursor: pointer; list-style-position: inside; }.proforma-sent-history > summary span:first-child { display: grid; gap: 2px; }.proforma-sent-history > summary small { color: var(--text-secondary); font-weight: 400; }.proforma-sent-history[open] > summary { border-bottom: 1px solid var(--border); }.proforma-sent-history .data-table { min-width: 1030px; }
.proforma-confirm-modal { width: min(720px,100%); }.proforma-confirm-summary { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }.proforma-confirm-summary div { display: grid; gap: 3px; padding: 10px; background: #F8FAFC; border: 1px solid var(--border); border-radius: 6px; }.proforma-confirm-summary span { color: var(--text-secondary); font-size: .62rem; }.proforma-confirm-summary strong { overflow-wrap: anywhere; font-size: .75rem; }.proforma-confirm-list { max-height: 230px; margin: 10px 0 0; padding: 0; overflow: auto; list-style: none; border: 1px solid var(--border); border-radius: 6px; }.proforma-confirm-list li { display: grid; grid-template-columns: minmax(160px,1fr) 2fr; gap: 12px; padding: 8px 10px; border-bottom: 1px solid var(--border); font-size: .7rem; }.proforma-confirm-list li:last-child { border-bottom: 0; }.proforma-confirm-list span { color: var(--text-secondary); }
.next-step-table { max-width: 230px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-danger { color: var(--danger) !important; font-weight: 650; }
.heading-actions { display: flex; align-items: center; gap: 8px; }
.ticket-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(231px, 22%); gap: 17px; }
.ticket-detail-main, .ticket-detail-side { min-width: 0; display: grid; align-content: start; gap: 17px; }.ticket-detail-main { grid-template-columns: minmax(0,1fr); }
.ticket-summary-card { width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; padding: 20px; }.ticket-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.ticket-summary-card h2 { margin: 22px 0 7px; font-size: .82rem; }.ticket-description { margin: 0; color: #475467; font-size: .82rem; line-height: 1.65; white-space: pre-wrap; }
.ticket-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin: 21px 0 0; padding-top: 5px; border-top: 1px solid var(--border); }.ticket-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EEF1F5; font-size: .72rem; }.ticket-facts dt { color: var(--text-secondary); }.ticket-facts dd { margin: 0; text-align: right; font-weight: 650; }
.ticket-status-explanation { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-top: 14px; padding: 10px 12px; background: #F7F9FC; border: 1px solid #E1E7EF; border-left: 4px solid var(--ticket-status); border-radius: 6px; }
.ticket-status-explanation > div { display: grid; gap: 3px; }
.ticket-status-explanation span { color: var(--text-secondary); font-size: .58rem; font-weight: 750; letter-spacing: .08em; }
.ticket-status-explanation strong { font-size: .7rem; line-height: 1.4; }
.ticket-client-data-reminder { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.ticket-client-data-reminder > div,.transition-client-data-warning { display: grid; gap: 4px; }
.ticket-client-data-reminder span { font-size: .72rem; }
.transition-client-data-warning { margin-top: 10px; }
.ticket-client-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 0; }
.ticket-client-facts > div { min-width: 0; display: grid; gap: 3px; padding: 8px 9px; background: #F8FAFC; border: 1px solid #E6EBF2; border-radius: 5px; }
.ticket-client-facts dt { color: var(--text-secondary); font-size: .59rem; }
.ticket-client-facts dd { min-width: 0; margin: 0; font-size: .68rem; font-weight: 700; overflow-wrap: anywhere; }
.ticket-client-facts dd small { display: block; margin-top: 2px; color: var(--text-secondary); font-size: .58rem; font-weight: 500; }
.ticket-client-facts a { color: var(--brand); text-decoration: none; }
.ticket-task-table { min-width: 1120px; }
.ticket-task-table td { vertical-align: middle; }
.ticket-task-table td:nth-child(2) { min-width: 180px; }
.table-secondary { display: block; max-width: 260px; margin-top: 3px; color: var(--text-secondary); font-size: .64rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-edit-modal, .task-history-modal { width: min(860px, 100%); }
.task-change-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.task-change-list > li { padding: 12px; background: #FAFCFE; border: 1px solid var(--border); border-radius: 7px; }
.task-change-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.task-change-heading strong { font-size: .76rem; }.task-change-heading small { color: var(--text-secondary); font-size: .64rem; }
.task-change-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 14px; margin: 9px 0 0; padding-top: 8px; border-top: 1px solid #E6EBF2; }
.task-change-details div { display: grid; grid-template-columns: minmax(95px,.7fr) minmax(0,1.3fr); gap: 8px; font-size: .68rem; }
.task-change-details dt { color: var(--text-secondary); }.task-change-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
@media (max-width: 1200px) { .ticket-client-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ticket-activation-goals { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .ticket-client-facts, .ticket-status-explanation, .task-change-details,.ticket-activation-goals article,.ticket-activation-requests a { grid-template-columns: 1fr; } .task-change-heading,.ticket-activation-plan > header { align-items: flex-start; flex-direction: column; }.ticket-activation-actions { flex-wrap: wrap; justify-content: flex-start; } }
.next-action-card { padding: 18px; border-top: 3px solid var(--brand); }.next-action-card h2 { margin: 5px 0 7px; font-size: .94rem; line-height: 1.4; }.next-action-card p { margin: 0 0 14px; font-size: .74rem; }
.next-action-facts { display: grid; gap: 5px; margin: 0 0 13px; padding: 9px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.next-action-facts div { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .67rem; }.next-action-facts dt { color: var(--text-secondary); }.next-action-facts dd { margin: 0; text-align: right; font-weight: 700; }
.timeline-card { overflow: hidden; }.timeline-list { max-height: 680px; overflow-y: auto; margin: 0; padding: 7px 18px 14px; list-style: none; }.timeline-list li { position: relative; display: grid; grid-template-columns: 13px 1fr; gap: 9px; padding: 11px 0; }.timeline-list li:not(:last-child)::after { content: ""; position: absolute; top: 26px; bottom: -7px; left: 5px; width: 1px; background: #DDE4ED; }.timeline-dot { width: 11px; height: 11px; margin-top: 3px; background: #fff; border: 3px solid var(--brand); border-radius: 50%; z-index: 1; }.timeline-list strong { font-size: .73rem; }.timeline-list p { margin: 3px 0; color: #667085; font-size: .68rem; line-height: 1.45; }.timeline-list small { color: #98A2B3; font-size: .62rem; }.timeline-list .timeline-empty { display: block; color: var(--text-secondary); font-size: .72rem; text-align: center; }
.timeline-entry { min-width: 0; }.timeline-entry > strong, .timeline-entry > small { display: block; }.timeline-entry > small { margin-top: 3px; }.timeline-details { margin-top: 5px; }.timeline-details summary { width: fit-content; color: var(--brand); font-size: .64rem; font-weight: 700; cursor: pointer; list-style-position: inside; }.timeline-details summary:hover { text-decoration: underline; }.timeline-detail-grid { display: grid; gap: 4px; margin: 6px 0 0; padding: 7px 8px; background: #F7F9FC; border: 1px solid #E3E9F1; border-radius: 6px; }.timeline-detail-grid div { display: grid; grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr); gap: 7px; font-size: .64rem; line-height: 1.35; }.timeline-detail-grid dt { color: #667085; }.timeline-detail-grid dd { min-width: 0; margin: 0; color: var(--text-primary); font-weight: 600; overflow-wrap: anywhere; }
.deactivation-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.deactivation-stats > div { display: flex; align-items: center; justify-content: space-between; padding: 12px; color: var(--text-secondary); background: #F8FAFC; border: 1px solid var(--border); border-radius: 6px; font-size: .72rem; }.deactivation-stats strong { color: var(--text); font-size: 1.25rem; }
.danger-action { background: var(--danger); border-color: var(--danger); }.danger-action:hover:not(:disabled) { background: #912018; border-color: #912018; box-shadow: 0 3px 9px rgba(180,35,24,.2); }

.process-tabs { position: sticky; top: 66px; z-index: 12; display: flex; gap: 3px; margin-bottom: 17px; padding: 5px; overflow-x: auto; background: rgba(255,255,255,.96); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 3px 12px rgba(23,32,51,.05); }
.process-tabs button { min-height: 37px; padding: 7px 13px; color: #667085; background: transparent; border: 0; border-radius: 5px; font: inherit; font-size: .73rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
.process-tabs button:hover { color: var(--brand); background: #F4F7FB; }.process-tabs button.active { color: #fff; background: var(--brand); }
.process-focus-card { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(420px,1.3fr); gap: 12px 22px; margin-bottom: 10px; padding: 15px 18px; border-top: 3px solid var(--primary); }
.process-focus-copy h2 { margin: 3px 0 4px; font-size: 1rem; }.process-focus-copy p { max-width: 62ch; margin: 0; color: var(--text-secondary); font-size: .72rem; line-height: 1.45; }
.conversation-focus-summary { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 6px 0; }.conversation-focus-summary span { color: var(--text-secondary); font-size: .68rem; }.conversation-focus-summary strong { padding: 6px 10px; border-radius: 999px; background: #edf4ff; color: var(--primary); font-size: .7rem; }
.process-stage-rail { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; align-self: center; }.process-stage-rail > div { position: relative; display: grid; grid-template-columns: 25px minmax(0,1fr); column-gap: 7px; align-items: center; min-width: 0; padding: 8px; color: #7b8798; border: 1px solid #dce3ec; border-radius: 7px; background: #f6f8fb; }.process-stage-rail > div > span { display: grid; grid-row: 1 / 3; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e4e9f0; font-size: .67rem; font-weight: 900; }.process-stage-rail strong { overflow: hidden; color: inherit; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }.process-stage-rail small { font-size: .59rem; }.process-stage-rail > div.active { color: #1d4f91; border-color: #8eabd0; background: #edf4fc; box-shadow: inset 3px 0 var(--primary); }.process-stage-rail > div.active > span { color: #fff; background: var(--primary); }.process-stage-rail > div.completed { color: #16755c; border-color: #b9ddcf; background: #f0faf6; }.process-stage-rail > div.completed > span { color: #fff; background: #15936f; }.process-stage-rail > div.completed > span::before { content: "✓"; }.process-stage-rail > div.completed > span { font-size: 0; }.process-stage-rail > div.completed > span::before { font-size: .7rem; }.process-stage-rail > div.incomplete { color: #8a5a00; border-color: #e9ce8a; background: #fff8e7; }.process-stage-rail > div.incomplete > span { color: #805600; background: #ffe4a3; font-size: 0; }.process-stage-rail > div.incomplete > span::before { content: "!"; font-size: .72rem; }
.current-stage-checklist { grid-column: 1 / -1; padding-top: 11px; border-top: 1px solid var(--border); }.current-stage-checklist > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 7px; }.current-stage-checklist > div > strong { font-size: .68rem; }.current-stage-checklist ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }.current-stage-checklist li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 7px; min-width: 0; padding: 7px 8px; border: 1px solid #ead7a8; border-radius: 6px; background: #fffbef; }.current-stage-checklist li > span { display: grid; place-items: center; width: 20px; height: 20px; color: #9a6700; border-radius: 50%; background: #fff0c2; font-size: .68rem; font-weight: 900; }.current-stage-checklist li strong,.current-stage-checklist li small { display: block; }.current-stage-checklist li strong { font-size: .68rem; }.current-stage-checklist li small { margin-top: 2px; color: var(--text-secondary); font-size: .59rem; line-height: 1.3; }.current-stage-checklist li.done { border-color: #c7e3d8; background: #f2faf7; }.current-stage-checklist li.done > span { color: #fff; background: #15936f; }
.process-work-tabs { align-items: center; }.process-work-tabs > span { flex: 1; min-width: 18px; }.process-completed-card { padding-bottom: 16px; }.process-completed-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin: 14px 18px; }.process-completed-facts > div { padding: 10px; border: 1px solid var(--border); border-radius: 7px; background: #f8fafc; }.process-completed-facts span,.process-completed-facts strong { display: block; }.process-completed-facts span { color: var(--text-secondary); font-size: .63rem; }.process-completed-facts strong { margin-top: 3px; font-size: .78rem; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-bottom: 17px; }.module-grid > .card { min-width: 0; padding-bottom: 16px; }.module-grid > .card > .form-grid, .module-grid > .card > .button, .module-grid > .card > .checkbox-field { margin-right: 16px; margin-left: 16px; }

/* Vođeni prvi razgovor */
.conversation-wizard { overflow: visible; margin-bottom: 16px; }
.conversation-wizard-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px 12px; border-bottom: 1px solid var(--border); }
.conversation-wizard-header h2,.conversation-wizard-header p,.conversation-step-body h3 { margin: 0; }
.conversation-wizard-header h2 { margin-top: 3px; font-size: 1.03rem; }.conversation-wizard-header p { margin-top: 3px; color: var(--text-secondary); font-size: .72rem; }
.conversation-state { min-width: 112px; text-align: right; }.conversation-state strong,.conversation-state span { display: block; }.conversation-state strong { color: var(--primary); font-size: 1.2rem; }.conversation-state span { color: var(--text-secondary); font-size: .64rem; }
.conversation-step-rail { display: grid; grid-template-columns: repeat(8,minmax(84px,1fr)); gap: 5px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #f8fafc; overflow-x: auto; }
.conversation-step-rail button { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 7px 8px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--text-secondary); text-align: left; cursor: pointer; }
.conversation-step-rail button span { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #e8eef7; color: #50627d; font-size: .67rem; font-weight: 800; }
.conversation-step-rail button strong { overflow: hidden; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }.conversation-step-rail button.active { border-color: var(--primary); background: #edf4ff; color: #153f7d; box-shadow: inset 3px 0 0 var(--primary); }.conversation-step-rail button.done span { background: #15966b; color: #fff; }.conversation-step-rail button:disabled { opacity: .5; cursor: not-allowed; }
.conversation-step-body { padding: 12px 14px; background: #f4f7fb; }.conversation-panel { min-width: 0; padding: 13px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }.conversation-panel > .notice:last-child { margin-bottom: 0; }
.conversation-contact-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(320px,.75fr); gap: 12px; }.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }.section-heading h3 { margin-top: 3px; font-size: .95rem; }.section-heading p { margin: 3px 0 0; color: var(--text-secondary); font-size: .69rem; }
.contact-participants.compact { margin: 0 0 10px; padding: 0; }.contact-participants.compact .contact-participant { padding: 8px 10px; }.contact-participants.compact .contact-participant-link { min-height: 58px; }
.contact-launch-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 10px 0; padding: 10px 12px; border: 1px solid #bcd2ef; border-radius: 7px; background: #f4f8ff; }.contact-launch-card.missing { border-color: #f1b8ad; background: #fff5f2; }.contact-launch-card > div span,.contact-launch-card > div strong,.contact-launch-card > div small { display: block; }.contact-launch-card > div span { color: var(--primary); font-size: .61rem; font-weight: 800; letter-spacing: .07em; }.contact-launch-card > div strong { margin-top: 2px; font-size: .78rem; }.contact-launch-card > div small { margin-top: 2px; color: var(--text-secondary); }
.contact-outcome-panel { margin-top: 10px; padding: 11px; border: 1px solid #b8cfec; border-radius: 8px; background: #f8fbff; }.contact-outcome-panel > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }.contact-outcome-panel h3 { font-size: .85rem; }.contact-unsuccessful-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 10px 0; }.conversation-attempts { margin-top: 11px; }
.contact-directory-compact article { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 8px; border-bottom: 1px solid var(--border); cursor: pointer; }.contact-directory-compact article.selected { margin: 0 -4px; padding-right: 12px; padding-left: 12px; border-radius: 6px; background: #edf4ff; }.contact-directory-compact article strong,.contact-directory-compact article small { display: block; }.contact-directory-compact article small { overflow: hidden; color: var(--text-secondary); font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }.contact-create-panel.inline { margin: 10px 0 0; padding: 10px; }
.participant-contact-create { margin-bottom: 12px !important; }.participant-contact-create .contact-create-heading p { margin: 3px 0 0; color: var(--text-secondary); font-size: .68rem; }.contact-create-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }.contact-create-actions .heading-actions { margin: 0; }
.conversation-data-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }.conversation-data-grid .field-span-2 { grid-column: span 2; }.guide-question-grid.compact { padding: 0; }.guide-question-grid.compact .guide-question { padding: 10px; }
.experienced-user-callout { align-self: stretch; padding: 10px 12px; border: 1px solid #78c8aa; border-radius: 7px; background: #edfaf4; }.experienced-user-callout strong,.experienced-user-callout span { display: block; }.experienced-user-callout strong { color: #087552; font-size: .78rem; }.experienced-user-callout span { margin-top: 3px; color: #37584c; font-size: .67rem; line-height: 1.4; }
.conversation-final-assessment { max-width: 620px; margin-bottom: 12px; padding: 10px; border: 1px solid #cbd9ec; border-radius: 7px; background: #f5f8fc; }.conversation-final-assessment .field { margin: 0; }
.conversation-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-bottom: 12px; }.conversation-summary-grid > div { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 8px; padding: 9px; border: 1px solid var(--border); border-radius: 7px; }.conversation-summary-grid > div > span { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; font-size: .68rem; font-weight: 800; }.conversation-summary-grid .done { background: #f0faf5; }.conversation-summary-grid .done > span { background: #15966b; color: #fff; }.conversation-summary-grid .missing { background: #fff8ed; }.conversation-summary-grid .missing > span { background: #eaa229; color: #fff; }.conversation-summary-grid strong,.conversation-summary-grid small { display: block; }.conversation-summary-grid strong { font-size: .72rem; }.conversation-summary-grid small { margin-top: 2px; color: var(--text-secondary); font-size: .63rem; }
.conversation-wizard-footer { position: sticky; bottom: 0; z-index: 6; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--border); background: rgba(255,255,255,.96); box-shadow: 0 -5px 18px rgba(31,54,85,.08); backdrop-filter: blur(8px); }.conversation-draft-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }.conversation-draft-actions span strong,.conversation-draft-actions span small { display: block; text-align: right; }.conversation-draft-actions span strong { font-size: .69rem; }.conversation-draft-actions span small { color: var(--text-secondary); font-size: .61rem; }
@media (max-width: 1100px) { .conversation-contact-layout { grid-template-columns: 1fr; }.conversation-data-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.conversation-step-rail { grid-template-columns: repeat(8,125px); } }
@media (max-width: 700px) { .conversation-wizard-header,.conversation-wizard-footer { align-items: stretch; grid-template-columns: 1fr; }.conversation-wizard-header { flex-direction: column; }.conversation-state { text-align: left; }.conversation-draft-actions { justify-content: space-between; }.conversation-draft-actions span strong,.conversation-draft-actions span small { text-align: left; }.conversation-data-grid,.conversation-summary-grid,.contact-unsuccessful-row { grid-template-columns: 1fr; }.conversation-data-grid .field-span-2 { grid-column: auto; }.contact-launch-card { align-items: flex-start; flex-direction: column; } }
.process-section { margin-bottom: 17px; padding-bottom: 18px; }.process-section > .form-grid, .process-section > .checkbox-field, .process-section > .button, .process-section > .heading-actions, .process-section > .inline-form { margin-right: 18px; margin-left: 18px; }
.compact-form-grid { grid-template-columns: 1fr 1fr; }.qualification-grid { grid-template-columns: repeat(4, 1fr); }.field-span-2 { grid-column: span 2; }
.contact-participants { display: grid; grid-template-columns: minmax(0,1fr) 90px minmax(0,1fr); align-items: stretch; gap: 8px; margin: 12px 16px 14px; }
.contact-participant { display: flex; min-width: 0; flex-direction: column; gap: 2px; padding: 9px 11px; border: 1px solid #cbd7e6; border-radius: 7px; background: #f7faff; }
.contact-participant > span,.selected-contact-note > span { color: var(--primary); font-size: .62rem; font-weight: 850; letter-spacing: .07em; }.contact-participant > strong { overflow: hidden; text-overflow: ellipsis; font-size: .76rem; white-space: nowrap; }.contact-participant > small,.selected-contact-note > small { color: var(--text-secondary); font-size: .63rem; }
.contact-participant.client-contact { border-left: 3px solid #15936f; background: #f4fbf8; }.contact-participant.client-contact > span { color: #13755b; }
.contact-participant-link { display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--primary); }.contact-participant-link > span { font-size: 1.15rem; font-weight: 900; }.contact-participant-link > small { color: var(--text-secondary); font-size: .62rem; white-space: nowrap; }
.selected-contact-note { display: flex; min-height: 63px; flex-direction: column; justify-content: center; gap: 3px; padding: 8px 10px; border: 1px solid #b9d8cc; border-radius: 6px; background: #f4fbf8; }.selected-contact-note > span { color: #13755b; }.selected-contact-note > strong { font-size: .76rem; }
.compact-list { display: grid; gap: 0; margin: 14px 16px 0; border-top: 1px solid var(--border); }.compact-list > div { display: grid; grid-template-columns: minmax(120px,1fr) minmax(120px,1.3fr) auto; align-items: center; gap: 8px; min-height: 46px; padding: 8px 0; border-bottom: 1px solid #EEF1F5; font-size: .7rem; }.compact-list strong { font-size: .71rem; }.compact-list span,.compact-list small { color: var(--text-secondary); }.compact-list input { min-width: 120px; height: 31px; padding: 5px 8px; border: 1px solid #C8D1DE; border-radius: 5px; }
.inline-form { display: flex; align-items: end; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }.inline-form .field { margin: 0; }.inline-form .grow { flex: 1; }
.report-filter { margin-bottom: 17px; padding-bottom: 14px; }.report-filter .inline-form { margin-top: 0; padding-top: 0; border-top: 0; }.report-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 17px; margin-bottom: 17px; }.report-grid + .table-card,.report-grid ~ .table-card { margin-bottom: 17px; }
.funnel-list { display: grid; gap: 11px; padding: 16px 18px 20px; }.funnel-list > div { display: grid; grid-template-columns: 155px 1fr 82px; align-items: center; gap: 12px; color: #475467; font-size: .72rem; }.funnel-list > div > div { height: 8px; overflow: hidden; background: #E9EEF5; border-radius: 999px; }.funnel-list i { display: block; height: 100%; min-width: 2px; background: linear-gradient(90deg,var(--brand),var(--accent)); border-radius: inherit; }.funnel-list strong { text-align: right; }.funnel-list small { margin-left: 4px; color: var(--text-secondary); font-weight: 400; }
.stage-bars { display: grid; gap: 10px; padding: 15px 18px 20px; }.stage-bars > div { display: grid; grid-template-columns: 130px 1fr 30px; align-items: center; gap: 10px; color: #667085; font-size: .69rem; }.stage-bars i { position: relative; height: 7px; overflow: hidden; background: #EDF1F6; border-radius: 999px; }.stage-bars i::after { content:""; position:absolute; inset:0 auto 0 0; width:var(--stage-width); background:var(--stage-color); border-radius:inherit; }.stage-bars strong { color: var(--text); text-align: right; }.dashboard-task-list { margin-bottom: 14px; }.dashboard-obligation-header { align-items: flex-end; }.dashboard-header-actions { display: flex; align-items: flex-end; gap: 8px; }.dashboard-header-actions .compact-select { align-items: flex-start; flex-direction: column; gap: 3px; }.dashboard-header-actions .compact-select select { height: 32px; }.dashboard-task-list > .dashboard-task-row { grid-template-columns: minmax(0,1fr) max-content; column-gap: 18px; }.dashboard-task-list > .dashboard-task-row:has(.operator-inline) { grid-template-columns: minmax(0,1fr) minmax(120px,145px) max-content; }.dashboard-task-primary { display: grid; min-width: 0; gap: 3px; }.dashboard-task-primary > span { display: flex; min-width: 0; align-items: center; gap: 5px; color: var(--text-secondary); }.dashboard-task-primary > span > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.dashboard-ticket-link { flex: 0 0 auto; color: var(--brand); font-weight: 700; }.dashboard-task-row .dashboard-task-meta { justify-self: end; white-space: nowrap; }.dashboard-task-target { display: grid; min-width: 0; color: var(--text); text-decoration: none; }.dashboard-task-target:hover strong { color: var(--brand); text-decoration: underline; }.operator-inline.compact { min-width: 0; font-size: .66rem; }.operator-inline.compact .owner-mini { width: 24px; height: 24px; font-size: .58rem; }.dashboard-alert-list a { color: var(--brand); font-weight: 650; text-decoration: none; }.dashboard-alert-list a:hover { text-decoration: underline; }
.dashboard-task-list > .dashboard-task-row { grid-template-columns: minmax(0,1fr) 82px 145px; column-gap: 14px; }.dashboard-task-list > .dashboard-task-row:has(.operator-inline) { grid-template-columns: minmax(260px,1fr) 82px 145px 145px; }.dashboard-ticket-cell { justify-self: start; white-space: nowrap; }.dashboard-task-row .operator-inline.compact { width: 145px; }.dashboard-task-row .dashboard-task-meta { width: 145px; justify-content: flex-end; }
.kanban-phase-nav { position: sticky; top: 65px; z-index: 13; display: flex; gap: 4px; margin-bottom: 5px; padding: 4px; overflow-x: auto; background: rgba(243,246,250,.96); border: 1px solid var(--border); border-radius: 7px; }.kanban-phase-nav a { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 2px 6px; color: #475467; background: #fff; border: 1px solid var(--border); border-radius: 5px; font-size: .59rem; text-decoration: none; white-space: nowrap; }.kanban-phase-nav a:hover { color: var(--brand); border-color: #A9C0DC; }.kanban-phase-nav i { width: 5px; height: 5px; background: var(--status-color); border-radius: 50%; }
.audit-json { max-width: 460px; max-height: 180px; overflow: auto; margin: 6px 0 0; padding: 8px; color: #344054; background: #F6F8FB; border-radius: 5px; font: .64rem/1.45 Consolas,monospace; white-space: pre-wrap; }

#blazor-error-ui { display: none; position: fixed; z-index: 1000; right: 18px; bottom: 18px; padding: 12px 38px 12px 14px; color: #fff; background: var(--danger); border-radius: 6px; box-shadow: 0 8px 24px rgba(23,32,51,.25); }
#blazor-error-ui .reload { margin-left: 8px; color: #fff; font-weight: 700; }
#blazor-error-ui .dismiss { position: absolute; right: 12px; cursor: pointer; }
.blazor-error-boundary { padding: 1rem; color: #fff; background: var(--danger); border-radius: 6px; }
.blazor-error-boundary::after { content: "Došlo je do greške."; }

/* Vodic kroz tiket */
.action-toast { position: fixed; z-index: 140; top: 88px; right: 22px; bottom: auto; display: grid; grid-template-columns: 34px minmax(220px,360px) 28px; align-items: start; gap: 10px; max-width: calc(100vw - 44px); padding: 13px 12px; border: 1px solid; border-radius: 9px; background: #fff; box-shadow: 0 16px 42px rgba(23,32,51,.24); animation: action-toast-in .18s ease-out; }.action-toast.success { border-color: #91d4bd; }.action-toast.error { border-color: #efaaa5; }.action-toast-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: #178b69; font-size: 1rem; font-weight: 900; }.action-toast.error .action-toast-icon { background: #c64038; }.action-toast strong { display: block; margin: 1px 0 3px; }.action-toast p { margin: 0; color: var(--text-secondary); font-size: .78rem; line-height: 1.4; }.action-toast > button { width: 28px; height: 28px; color: #65758b; background: transparent; border: 0; border-radius: 5px; cursor: pointer; font-size: 1.15rem; }.action-toast > button:hover { color: var(--danger); background: var(--danger-bg); }@keyframes action-toast-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.contact-directory-card { align-self: start; }.contact-directory-header-actions { display: flex; align-items: center; gap: 8px; }.contact-create-panel { margin: 12px 18px 4px; padding: 12px; border: 1px solid #c7d5e6; border-radius: 8px; background: #f8fbff; }.contact-create-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }.contact-create-heading h3 { margin: 2px 0 0; }.contact-create-panel > .checkbox-field { margin: 9px 0; }.contact-create-panel > .heading-actions { justify-content: flex-end; }.compact-section-title { margin: 12px 18px 8px; font-size: .78rem; }.contact-directory-list { display: grid; gap: 6px; margin: 14px 18px 18px; padding-top: 12px; border-top: 1px solid var(--border); }.contact-directory-list > article { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 8px; border: 1px solid #dfe6ef; border-radius: 7px; background: #f9fbfd; }.contact-directory-avatar { display: grid; place-items: center; width: 32px; height: 32px; color: #24599d; background: #e8f0fb; border-radius: 50%; font-size: .7rem; font-weight: 900; }.contact-directory-copy { min-width: 0; }.contact-directory-copy > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }.contact-directory-copy small { display: block; margin-top: 2px; overflow: hidden; color: var(--muted); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }.contact-main-badge { padding: 2px 6px; color: #176e57; background: #e8f8f2; border-radius: 999px; font-size: .6rem; font-weight: 800; }.button.compact { min-height: 30px; padding: 5px 9px; font-size: .68rem; }.contact-edit-modal { width: min(650px,100%); }.contact-edit-actions { display: grid !important; grid-template-columns: auto 1fr auto auto; }.confirmation-backdrop { z-index: 120; }.contact-confirm-modal { width: min(460px,100%); }
.guide-progress-card { margin-bottom: 14px; padding: 14px 18px; border-top: 3px solid var(--primary); }
.guide-progress-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 9px; }
.guide-progress-heading strong { font-size: 1rem; }.guide-progress-heading span { color: var(--muted); font-weight: 700; }
.guide-progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #e7edf6; }.guide-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#2e5da4,#16a085); }
.guide-progress-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 9px; font-size: .76rem; color: var(--muted); }.guide-progress-steps > div { display: grid; grid-template-columns: 24px minmax(0,1fr); column-gap: 7px; align-items: center; min-width: 0; }.guide-progress-steps > div > span { display: grid; grid-row: 1 / 3; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #52667f; background: #e7edf5; font-weight: 900; }.guide-progress-steps > div > strong { color: var(--text); }.guide-progress-steps > div > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.guide-progress-steps .done { color: #16775e; font-weight: 800; }.guide-progress-steps .done > span { color: #fff; background: #15936f; }
.guide-question-card { padding: 13px; border: 1px solid var(--border); border-radius: 9px; background: #fbfcfe; }.guide-question-card + .guide-question-card { margin-top: 10px; }
.guide-question-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0 12px 12px; }
.guide-question { display: flex; flex-direction: column; min-width: 0; gap: 7px; padding: 10px; border: 1px solid #dce5f0; border-radius: 8px; background: #fff; }.guide-question.wide { grid-column: 1 / -1; }.guide-question > div:first-child { display: flex; align-items: center; gap: 9px; min-height: 28px; }.guide-question > div:first-child label { margin: 0; color: var(--text); font-weight: 800; line-height: 1.3; }.guide-question > input,.guide-question > select,.guide-question > textarea,.guide-question > .date-time-input { width: 100%; min-width: 0; }.guide-question > small { color: var(--muted); line-height: 1.4; }.guide-question-number { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--primary); font-weight: 900; font-size: .75rem; }
.installation-agreement-fields { display: grid; grid-template-columns: minmax(260px,1.15fr) minmax(230px,1fr) minmax(190px,.75fr); gap: 8px; align-items: start; }.installation-agreement-fields .field { min-width: 0; margin: 0; }.installation-agreement-fields .field > .date-time-input,.installation-agreement-fields input,.installation-agreement-fields select { width: 100%; }.installation-agreement-fields small { display: block; margin-top: 3px; color: var(--muted); }
.current-system-add { display: grid; grid-template-columns: minmax(0,1fr) auto 30px; align-items: end; gap: 7px; padding: 9px; border: 1px solid #a9bed9; border-radius: 7px; background: #f3f8fe; }.current-system-add .field { margin: 0; }.current-system-cancel { display: grid; place-items: center; width: 30px; height: 34px; padding: 0; color: #65758b; background: transparent; border: 0; border-radius: 5px; cursor: pointer; font-size: 1.2rem; }.current-system-cancel:hover { color: var(--danger); background: var(--danger-bg); }
.sector-lookup-field { min-width: 0; }.sector-lookup-actions { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }.sector-lookup-actions small { flex: 1; }.sector-lookup-editor { display: grid; grid-template-columns: minmax(0,1fr) auto 30px; align-items: end; gap: 7px; margin-top: 6px; padding: 8px; border: 1px solid #a9bed9; border-radius: 7px; background: #f3f8fe; }.sector-lookup-editor .field { margin: 0; }.sector-lookup-field > .notice { margin-top: 6px; }
.guide-suggestions { position: relative; margin-top: 2px; }.guide-suggestions-trigger { display: inline-flex; align-items: center; padding: 3px 0; cursor: pointer; color: var(--primary); background: transparent; border: 0; font-size: .77rem; font-weight: 800; }.guide-suggestions-trigger > span { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 5px; border-radius: 50%; color: #fff; background: var(--primary); }.guide-suggestions-dismiss { position: fixed; z-index: 24; inset: 0; width: 100%; height: 100%; padding: 0; background: transparent; border: 0; cursor: default; }
.guide-suggestions-panel { position: absolute; z-index: 25; top: 27px; left: 0; width: min(520px,75vw); padding: 13px; border: 1px solid #bdcce1; border-radius: 9px; background: #fff; box-shadow: 0 14px 32px rgba(26,48,78,.18); }.guide-suggestions-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.guide-suggestions-panel > p { margin: 4px 0 10px; color: var(--muted); font-size: .8rem; }.guide-suggestions-close { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; color: #65758b; background: transparent; border: 0; border-radius: 5px; cursor: pointer; font-size: 1.2rem; }.guide-suggestions-close:hover { color: var(--danger); background: var(--danger-bg); }
.guide-suggestions.drop-up .guide-suggestions-panel { top: auto; bottom: calc(100% + 4px); transform: translateY(var(--guide-suggestions-shift,0)); box-shadow: 0 -14px 32px rgba(26,48,78,.18); }
.guide-suggestion-options { display: grid; gap: 6px; }.guide-suggestion-options button { display: grid; gap: 2px; padding: 9px 10px; text-align: left; border: 1px solid var(--border); border-radius: 7px; color: var(--text); background: #f8fafc; cursor: pointer; }.guide-suggestion-options button:hover { border-color: var(--primary); background: #edf4ff; }.guide-suggestion-options small { color: var(--muted); }
.expectation-agreement { margin: 14px 18px; padding: 13px; border: 1px solid #cfdae9; border-left: 4px solid var(--primary); border-radius: 8px; background: #f8fbff; }.expectation-agreement.needs-alignment { border-left-color: #d0443e; background: #fff7f6; }.expectation-agreement.aligned { border-left-color: #15936f; background: #f1fbf7; }.expectation-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }.guide-optional { color: var(--muted); font-weight: 500; }
.training-interest-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 4px; }.training-interest-option { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 10px; border: 1px solid #cbd7e6; border-radius: 7px; background: #fff; cursor: pointer; }.training-interest-option:hover { border-color: #7fa3d3; background: #f4f8fd; }.training-interest-option.selected { border-color: #2b579a; background: #eaf2fd; box-shadow: inset 3px 0 0 #2b579a; }.training-interest-option input { width: 16px; height: 16px; margin: 0; accent-color: #2b579a; }.training-interest-option span { color: #17243a; font-size: .78rem; font-weight: 700; }
.commercial-decision-card { margin: 14px 18px 18px; padding: 13px; border: 1px solid #cbd8e8; border-radius: 8px; background: #f8fbff; }.commercial-decision-card > header h3 { margin: 2px 0 3px; }.commercial-decision-card > header p { margin-bottom: 11px; color: var(--text-secondary); font-size: .75rem; }.commercial-decision-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }.commercial-decision-grid .field { margin: 0; }.commercial-decision-grid .field > small { min-height: 2.6em; line-height: 1.35; }.commercial-decision-criterion { grid-column: span 2; }
.ticket-goals-card,.role-checklists-card,.onboarding-checklist { margin: 14px 18px; padding: 14px; border: 1px solid var(--border); border-radius: 9px; background: #fbfcfe; }
.admin-correction-panel { margin: 0 0 10px; padding: 13px 16px; border: 1px solid #d6dfed; border-left: 4px solid #8b9ab1; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(20,48,86,.04); }
.admin-correction-panel.active { border-color: #e4b14b; border-left-color: #c77a09; background: #fffaf0; }
.admin-correction-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-correction-heading > div { display: grid; gap: 3px; }
.admin-correction-heading strong { color: #13223a; font-size: 14px; }
.admin-correction-heading small { color: var(--muted); }
.admin-correction-stages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 11px; }
.admin-correction-stages button { display: grid; grid-template-columns: 27px 1fr; gap: 1px 8px; align-items: center; padding: 8px 10px; border: 1px solid #d5deec; border-radius: 7px; background: #f8fafd; color: #20324f; text-align: left; cursor: pointer; }
.admin-correction-stages button > span { grid-row: 1 / span 2; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #e7edf7; color: #315f9f; font-weight: 700; }
.admin-correction-stages button strong { font-size: 12px; }
.admin-correction-stages button small { font-size: 10px; color: #70809a; }
.admin-correction-stages button:hover,.admin-correction-stages button.selected { border-color: #bf790c; background: #fff3d7; }
.admin-correction-stages button.selected > span { background: #c77a09; color: #fff; }
.admin-correction-reason { margin-top: 11px; }
.admin-correction-reason textarea { background: #fff; }
.admin-goal-editor { display: grid; grid-template-columns: minmax(210px,.7fr) minmax(320px,1.3fr); gap: 10px 12px; margin-top: 10px; padding: 13px; border: 1px solid #e4b14b; border-radius: 8px; background: #fffaf0; }
.admin-goal-editor > div:first-child { grid-column: 1 / -1; display: grid; gap: 2px; }
.admin-correction-explainer { margin-bottom: 12px; }
.admin-correction-client,.admin-current-stage { display: block; margin-top: 4px; }
.admin-current-stage { color: var(--muted); font-size: 10px; }
.admin-phase-actions { display: flex; flex-wrap: wrap; gap: 5px; min-width: 520px; }
.admin-phase-actions > a,.admin-phase-actions > span { display: inline-flex; align-items: center; gap: 5px; min-height: 29px; padding: 4px 8px; border: 1px solid #cfdaea; border-radius: 6px; background: #f7f9fc; color: #295b9f; font-size: 11px; font-weight: 700; text-decoration: none; }
.admin-phase-actions > a:hover,.admin-phase-actions > a.current { border-color: #2e61a7; background: #eaf2fd; }
.admin-phase-actions > span.disabled { color: #9ba7b9; background: #fafbfc; cursor: not-allowed; }
.admin-phase-actions > * > span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e3ebf7; font-size: 10px; }
.admin-correction-table td { vertical-align: middle; }
.onboarding-checklist { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.onboarding-checklist > label { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 7px; align-items: start; min-width: 0; padding: 8px 9px; border: 1px solid #e0e6ee; border-radius: 6px; background: #fff; cursor: pointer; }.onboarding-checklist > label > input { width: 15px; height: 15px; margin: 2px 0 0; }.onboarding-checklist > label strong,.onboarding-checklist > label small { display: block; }.onboarding-checklist > label strong { font-size: .7rem; }.onboarding-checklist > label small { margin-top: 2px; color: var(--text-secondary); font-size: .61rem; line-height: 1.35; }
.onboarding-checklist > label.disabled { opacity: .58; background: #f4f6f8; cursor: not-allowed; }
.installation-briefing-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(290px,.62fr); gap: 9px; margin: 12px 18px 0; }
.installation-contact-card,.installation-plan-card,.installation-goals-summary { border: 1px solid #cbd8e7; border-radius: 8px; background: #f8fbff; }
.installation-contact-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 10px; align-items: center; padding: 11px 12px; border-left: 4px solid var(--primary); }
.installation-contact-card > .eyebrow,.installation-contact-card > small { grid-column: 1; }.installation-contact-card > strong { grid-column: 1; font-size: .82rem; }.installation-contact-card > .phone-link,.installation-contact-card > a { grid-column: 2; grid-row: 1 / span 3; align-self: center; }.installation-contact-card > .notice { grid-column: 1 / -1; margin: 4px 0 0; }
.installation-plan-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7px; padding: 11px 12px; }.installation-plan-card > .eyebrow { grid-column: 1 / -1; }.installation-plan-card > div { min-width: 0; padding: 7px 8px; border: 1px solid #dce5ef; border-radius: 6px; background: #fff; }.installation-plan-card span,.installation-plan-card strong { display: block; }.installation-plan-card span { color: var(--text-secondary); font-size: .59rem; }.installation-plan-card strong { margin-top: 2px; overflow: hidden; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.installation-goals-summary { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 12px; align-items: start; margin: 9px 18px; padding: 10px 12px; }.installation-goals-summary > div:first-child { display: grid; gap: 2px; }.installation-goals-summary > div:first-child strong { font-size: .77rem; }.installation-goals-summary > div:first-child small { color: var(--text-secondary); font-size: .61rem; line-height: 1.4; }.installation-goals-summary > .notice { margin: 0; }.installation-goals-summary ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }.installation-goals-summary li { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 7px; align-items: center; min-width: 0; padding: 6px 7px; border: 1px solid #dde6f0; border-radius: 6px; background: #fff; }.installation-goals-summary li > span { display: grid; place-items: center; width: 19px; height: 19px; color: #fff; border-radius: 50%; background: var(--primary); font-size: .58rem; font-weight: 850; }.installation-goals-summary li strong,.installation-goals-summary li small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.installation-goals-summary li strong { font-size: .66rem; }.installation-goals-summary li small { margin-top: 1px; color: var(--text-secondary); font-size: .57rem; }
.installation-start-panel,.installation-interrupted-panel,.installation-running-panel { margin: 9px 18px; padding: 10px 12px; border: 1px solid #c9d9eb; border-radius: 8px; background: #f7fbff; }.installation-start-panel,.installation-interrupted-panel { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }.installation-start-panel strong,.installation-start-panel span,.installation-interrupted-panel strong,.installation-interrupted-panel small,.installation-interrupted-panel span { display: block; }.installation-start-panel span,.installation-interrupted-panel small,.installation-interrupted-panel span { margin-top: 2px; color: var(--text-secondary); font-size: .64rem; }.installation-interrupted-panel { border-color: #e89e98; background: #fff4f2; }.installation-interrupted-panel > div:nth-child(2) { display: flex; align-items: center; gap: 8px; }.installation-running-panel { display: flex; align-items: center; gap: 8px; border-color: #a9d8c8; background: #edf9f4; }.installation-running-panel small { margin-left: auto; color: var(--text-secondary); }
.installation-call-outcome-panel { margin: 9px 18px; padding: 11px 12px; border: 1px solid #9bb9dd; border-radius: 8px; background: #f4f8fd; box-shadow: 0 4px 14px rgba(27,71,126,.08); }
.installation-call-outcome-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.installation-call-outcome-heading strong,.installation-call-outcome-heading small { display: block; }
.installation-call-outcome-heading small,.installation-postpone-form > small { margin-top: 2px; color: var(--text-secondary); font-size: .66rem; }
.installation-call-outcome-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #d5e0ed; }
.installation-postpone-form { display: grid; grid-template-columns: minmax(240px,.7fr) minmax(320px,1.3fr) auto; align-items: end; gap: 9px; margin-top: 10px; padding: 10px; border: 1px solid #e4bb70; border-radius: 7px; background: #fffaf0; }
.installation-postpone-form .span-all { grid-column: 1/-1; }
.installation-interruption-toggle { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 8px; margin: 9px 18px; padding: 9px 11px; border: 1px solid #e3c48f; border-radius: 7px; background: #fffaf0; cursor: pointer; }.installation-interruption-toggle input { margin-top: 2px; }.installation-interruption-toggle strong,.installation-interruption-toggle small { display: block; }.installation-interruption-toggle small { margin-top: 2px; color: var(--text-secondary); font-size: .62rem; }.installation-interruption-reason { margin: 9px 18px 0; }.installation-confirmation-list { margin-top: 9px; margin-bottom: 9px; }.installation-finish-hint { margin: 0 18px 8px; padding: 7px 9px; color: #8b5b0a; border-radius: 6px; background: #fff4d6; font-size: .65rem; font-weight: 750; }
.goal-entry-row { display: grid; grid-template-columns: 170px minmax(180px,1fr) 2fr auto; gap: 8px; align-items: end; }.compact-goal-entry { grid-template-columns: minmax(190px,.65fr) minmax(320px,1.35fr) auto; align-items: start; }.goal-needs-context { display: grid; grid-template-columns: max-content minmax(0,1fr) max-content; gap: 10px; align-items: center; margin: 0 0 11px; padding: 8px 10px; border: 1px solid #b8cce5; border-left: 4px solid var(--primary); border-radius: 7px; background: #f4f8fd; }.goal-needs-context > span { color: var(--primary); font-size: .62rem; font-weight: 800; letter-spacing: .07em; }.goal-needs-context > strong { min-width: 0; color: #17253a; font-size: .76rem; line-height: 1.4; white-space: pre-wrap; }.goal-needs-context > small { color: var(--muted); font-size: .64rem; }.goal-tag-field,.goal-action-field { min-width: 0; }.goal-tag-field .field,.goal-action-field .field { margin: 0; }.goal-add-button { margin-top: 18px; }.inline-link-button { margin-top: 4px; padding: 0; color: var(--primary); background: transparent; border: 0; cursor: pointer; font-size: .7rem; font-weight: 800; }.inline-link-button:hover { text-decoration: underline; }.inline-link-button:disabled { color: var(--muted); cursor: default; text-decoration: none; }.goal-tag-editor { display: grid; grid-template-columns: minmax(0,1fr) auto 30px; align-items: end; gap: 7px; margin-top: 8px; padding: 9px; border: 1px solid #a9bed9; border-radius: 7px; background: #f3f8fe; }.goal-tag-editor .field { margin: 0; }.qualification-blockers { margin-top: 12px; }.qualification-blockers > span { display: block; margin-top: 3px; }.qualification-blockers ul { margin: 5px 0 0 18px; padding: 0; }.qualification-blockers li + li { margin-top: 2px; }.agreed-goal-list,.training-list,.material-request-list { display: grid; gap: 7px; margin-top: 11px; }.agreed-goal-list > article,.training-list > article,.material-request-list > article { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 7px; background: #fff; }.training-list > article.attention { border-color: #e55a4e; box-shadow: inset 4px 0 #d74238; }.agreed-goal-list small,.training-list small,.material-request-list small { display: block; margin-top: 3px; color: var(--muted); }
.agreed-goal-list {
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.agreed-goal-list > li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #fff;
}

.agreed-goal-list > li > div {
    flex: 1;
    min-width: 0;
}

.agreed-goal-list > li > em {
    color: var(--muted);
    font-size: .72rem;
}

.role-checklist-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }.role-checklist-grid section { padding: 11px; border-radius: 8px; background: #f3f6fa; }.role-checklist-grid h4 { margin: 0 0 7px; }.role-checklist-grid label,.onboarding-goal-list label { display: flex; gap: 7px; margin: 6px 0; font-size: .82rem; }
.onboarding-goal-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 14px; }.trial-plan-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 14px; margin: 0 18px 18px; }.trial-plan-preview { padding: 15px; border: 1px solid #bdcce1; border-radius: 8px; background: #f8fbff; white-space: pre-wrap; }.recommended-materials { display: grid; gap: 7px; }.recommended-materials > article { padding: 9px; border: 1px solid var(--border); border-radius: 7px; background: #fff; }
.material-tag-picker { margin: 12px 18px; padding: 11px; border: 1px solid var(--border); border-radius: 8px; }.material-tag-picker legend { padding: 0 7px; font-weight: 800; }.material-tag-picker > div,.material-tags { display: flex; flex-wrap: wrap; gap: 6px; }.material-tag-picker label,.material-tags > span { padding: 5px 8px; border: 1px solid #cbd8e8; border-radius: 999px; background: #f3f7fc; font-size: .76rem; }.material-tag-picker label { display: flex; gap: 5px; align-items: center; cursor: pointer; }.request-material-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }

.licensing-confirmation-grid { grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); }.licensing-checklist { margin-right: 18px; margin-left: 18px; }.licensing-status-card > .notice { margin: 0 18px 12px; }.licensing-status-card > .notice a,.licensing-ticket-warning a { color: inherit; font-weight: 850; }.licensing-package-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0 18px; }.licensing-package-summary > div { padding: 10px; border: 1px solid var(--border); border-radius: 7px; background: #f8fafc; }.licensing-package-summary span,.licensing-package-summary strong { display: block; }.licensing-package-summary span { color: var(--muted); font-size: .64rem; }.licensing-package-summary strong { margin-top: 3px; font-size: .78rem; }.count-badge.count-attention { color: #a72b24; background: #fff0ef; }.count-badge.count-complete { color: #127056; background: #e8f8f2; }
.instruction-package-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); gap: 14px; margin: 0 18px; }.instruction-goal-list { display: grid; gap: 8px; align-content: start; }.instruction-goal-card { overflow: hidden; border: 1px solid #cbd8e7; border-left: 4px solid #2c66aa; border-radius: 8px; background: #fff; }.instruction-goal-card.warning { border-color: #e8c36e; border-left-color: #d18a10; }.instruction-goal-card.missing { border-color: #e99f99; border-left-color: #c93e35; }.instruction-goal-card > header { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; background: #f8fafc; border-bottom: 1px solid #e4eaf1; }.instruction-goal-card > header span,.instruction-goal-card > header strong { display: block; }.instruction-goal-card > header span { color: var(--primary); font-size: .59rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }.instruction-goal-card > header strong { margin-top: 2px; font-size: .72rem; }.instruction-goal-card > header em { align-self: center; color: var(--muted); font-size: .63rem; font-style: normal; font-weight: 800; white-space: nowrap; }.instruction-options { display: grid; gap: 4px; padding: 7px 9px; }.instruction-options > label { display: grid; grid-template-columns: 17px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 6px 7px; border: 1px solid #e1e7ef; border-radius: 6px; background: #fbfcfe; }.instruction-options strong,.instruction-options small { display: block; }.instruction-options strong { font-size: .68rem; }.instruction-options small { margin-top: 2px; color: var(--muted); font-size: .59rem; }.instruction-options a,.instruction-missing-copy a { color: var(--primary); font-size: .63rem; font-weight: 800; }.instruction-missing-copy { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; color: #9f2f29; font-size: .67rem; }.instruction-exception-toggle { display: flex; align-items: center; gap: 7px; margin: 0 10px 9px; color: #6b4b0a; font-size: .66rem; font-weight: 750; }.instruction-goal-card > .field { margin: 0 10px 10px; }.instruction-email-panel { align-self: start; padding: 12px; border: 1px solid #c8d7e9; border-radius: 9px; background: #f7faff; }.instruction-email-panel > .field { margin: 0 0 9px; }.instruction-email-preview { padding: 11px; background: #fff; white-space: pre-wrap; }.instruction-delivery-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0 0 9px; padding: 8px; border: 1px solid #d6e0ec; border-radius: 7px; background: #fff; }.instruction-delivery-summary > strong { grid-column: 1 / -1; color: #38516e; font-size: .65rem; }.instruction-delivery-summary > span { display: flex; align-items: center; gap: 5px; min-width: 0; padding: 5px 7px; border-radius: 5px; color: #33465e; background: #eef4fb; font-size: .62rem; }.instruction-delivery-summary b { color: var(--primary); white-space: nowrap; }.instruction-delivery-summary .delivery-kind-attachment { background: #edf8f3; }.instruction-delivery-summary .delivery-kind-attachment b { color: #087b5b; }.instruction-delivery-summary .delivery-kind-missing { color: #9f2f29; background: #fff0ef; }.instruction-delivery-summary .delivery-kind-missing b { color: #b42318; }.instruction-email-actions { gap: 6px; }.instruction-email-actions .button { flex: 1; justify-content: center; }.instruction-email-actions a.disabled { pointer-events: none; opacity: .48; }.instruction-package-history { margin-bottom: 17px; }.licensing-ticket-warning { margin: 9px 14px 0; }.ticket-instruction-warning { display: flex; align-items: center; gap: 5px; margin: 6px 0; padding: 5px 7px; color: #9f2f29; background: #fff0ef; border: 1px solid #efb0ab; border-radius: 6px; font-size: .62rem; }.ticket-instruction-warning span { font-weight: 900; }.ticket-instruction-warning strong { font-size: .62rem; }

.ticket-instruction-warning {
    gap: 7px;
    color: #9f2f29;
    text-decoration: none;
}

.ticket-instruction-warning:hover {
    border-color: #d96860;
    background: #ffe8e6;
}

.ticket-instruction-warning-icon {
    flex: 0 0 auto;
    font-weight: 900;
}

.ticket-instruction-warning-copy {
    min-width: 0;
    overflow: hidden;
    font-size: .62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-flow-signal {
    display: grid;
    grid-template-columns: 20px minmax(0,1fr);
    gap: 6px;
    align-items: center;
    margin: 5px 0;
    padding: 5px 7px;
    border: 1px solid;
    border-left-width: 4px;
    border-radius: 6px;
}
.ticket-flow-signal > span {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    font-size: .62rem;
    font-weight: 900;
}
.ticket-flow-signal strong,
.ticket-flow-signal small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; }
.ticket-flow-signal strong { -webkit-line-clamp: 2; font-size: .62rem; line-height: 1.22; }
.ticket-flow-signal small { margin-top: 2px; -webkit-line-clamp: 1; font-size: .56rem; line-height: 1.2; }
.ticket-flow-signal.waiting { color: #714900; border-color: #e5bd61; background: #fff7df; }
.ticket-flow-signal.waiting > span { color: #fff; background: #b97908; }
.ticket-flow-signal.waiting small { color: #765a22; }
.ticket-flow-signal.urgent {
    color: #8f251e;
    border-color: #e68e87;
    background: #fff0ee;
    box-shadow: 0 0 0 2px rgba(200,62,53,.08);
}

.ticket-flow-signal.deadline-soon {
    border-color: #f0b24b;
    background: #fff7e6;
    color: #8a4b00;
}
.ticket-flow-signal.urgent > span { color: #fff; background: #c83e35; }
.ticket-flow-signal.urgent small { color: #8a433e; }

/* Centar obuka */
.training-admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }.training-admin-toolbar strong,.training-admin-toolbar span { display: block; }.training-admin-toolbar span { margin-top: 2px; color: var(--muted); font-size: .72rem; }.training-type-editor { border-color: #a9bed9; }.training-term-toolbar { border-left: 3px solid var(--primary); }.training-term-editor { border-color: #a9bed9; }
.training-center-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }.training-center-summary .metric-card { min-height: 100px; padding: 15px; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 9px; background: #fff; box-shadow: var(--shadow); }.training-center-summary .metric-card.attention { border-top-color: #d7443b; }.training-center-summary span { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; }.training-center-summary strong { display: block; margin: 5px 0; font-size: 1.55rem; }.training-center-summary small { color: var(--muted); }
.training-term-grid,.training-catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; padding: 0 18px 18px; }.training-term-card,.training-catalog-card { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 9px; background: #fbfcfe; }.training-term-card.attention { border-color: #e45c51; box-shadow: inset 4px 0 #d7443b; }.training-term-card header,.training-catalog-card header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }.training-term-card h3,.training-catalog-card h3 { margin: 2px 0 0; }.training-term-card p,.training-catalog-card p { margin: 0; }.training-term-card > small { color: var(--muted); }.training-date { white-space: nowrap; color: var(--primary); font-weight: 800; font-size: .8rem; }.training-term-stats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }.training-term-stats span,.training-term-stats strong { padding: 4px 7px; border-radius: 999px; background: #edf2f8; font-size: .72rem; }.training-term-stats strong { color: #a9322c; background: #fff0ef; }
.training-email-alert { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; align-items: center; margin: 0 18px 14px; padding: 11px 13px; color: #8f241e; border: 1px solid #e48e87; border-left: 5px solid #c83e35; border-radius: 8px; background: #fff0ee; box-shadow: 0 5px 14px rgba(180,35,24,.10); }.training-email-alert > span { display: grid; place-items: center; width: 31px; height: 31px; color: #fff; border-radius: 50%; background: #c83e35; font-size: 1rem; font-weight: 900; }.training-email-alert strong,.training-email-alert small { display: block; }.training-email-alert strong { font-size: .8rem; }.training-email-alert small { margin-top: 2px; color: #853934; font-size: .68rem; }
.training-notification-layout { display: grid; grid-template-columns: minmax(320px,.8fr) minmax(440px,1.2fr); gap: 15px; padding: 0 18px 18px; }.selection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }.recipient-list { max-height: 470px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; }.recipient-row { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; gap: 9px; align-items: start; padding: 10px; border-bottom: 1px solid var(--border); }.recipient-row:last-child { border-bottom: 0; }.recipient-row-copy { min-width: 0; }.recipient-row small,.recipient-email-value,.recipient-email-missing { display: block; margin-top: 3px; }.recipient-row small { color: var(--muted); }.recipient-email-value { color: #226548; font-size: .67rem; font-weight: 750; }.recipient-row.missing-email { color: #7a271f; border-left: 4px solid #c83e35; background: #fff1ef; }.recipient-email-missing { color: #b42318; font-size: .65rem; font-weight: 900; letter-spacing: .02em; }.recipient-email-action { align-self: center; white-space: nowrap; }.recipient-email-editor { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(180px,1fr) auto; gap: 7px; align-items: end; margin-top: 3px; padding: 9px; border: 1px solid #d6e0ec; border-radius: 7px; background: #fff; }.recipient-email-editor .field { margin: 0; }.recipient-email-editor > div { display: flex; gap: 6px; padding-bottom: 1px; }.recipient-email-editor .field-error { grid-column: 1 / -1; margin: 0; color: var(--danger); font-size: .65rem; font-weight: 750; }.message-preview { display: grid; gap: 9px; }.message-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.training-catalog-card details { padding: 8px; border-radius: 6px; background: #f1f5fa; }.training-catalog-card summary { cursor: pointer; color: var(--primary); font-weight: 800; }.multiline-text { margin-top: 7px; white-space: pre-wrap; font-size: .8rem; }
.training-attention-badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 6px 9px; border: 1px solid transparent; border-radius: 999px; font-size: .74rem; line-height: 1.1; white-space: nowrap; }.training-attention-badge.compact { padding: 4px 7px; font-size: .68rem; }.training-attention-badge.urgent { color: #fff; border-color: #b92f28; background: #d94037; box-shadow: 0 0 0 3px rgba(217,64,55,.13); animation: training-pulse 1.8s ease-in-out infinite; }.training-attention-badge.waiting { color: #805100; border-color: #e5bd61; background: #fff5d9; }.training-attention-badge.notified { color: #126a53; border-color: #8acfb9; background: #ebfaf4; }.training-attention-badge.neutral { color: var(--muted); background: #eef2f7; }.ticket-training-callout { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0; padding: 10px 12px; border: 1px solid #ccd8e8; border-radius: 8px; background: #f7faff; }.button-wide { width: 100%; justify-content: center; }.button-success { color: #fff; border-color: #13785c; background: #168967; }.button-success:hover { background: #116e53; }
.ticket-guide-summary { margin: 12px 0 16px; padding: 12px; border: 1px solid #c9d7e9; border-radius: 9px; background: linear-gradient(135deg,#f8fbff,#f4f8fd); }.ticket-guide-summary-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }.ticket-guide-summary-heading strong { display: block; margin-top: 2px; }.ticket-guide-summary-heading a { color: var(--primary); font-weight: 800; }.ticket-guide-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 10px; }.ticket-guide-steps span { padding: 7px; border-radius: 6px; color: var(--muted); background: #e9eef5; text-align: center; font-size: .76rem; font-weight: 700; }.ticket-guide-steps span.done { color: #126a53; background: #e2f6ef; }
.ticket-work-summary { margin: 12px 0 16px; overflow: hidden; border: 1px solid #bdd0e8; border-radius: 9px; background: #f8fbff; }.ticket-work-summary > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-bottom: 1px solid #dbe5f1; }.ticket-work-summary h2 { margin: 2px 0 2px; font-size: .93rem; }.ticket-work-summary header p { margin: 0; color: var(--text-secondary); font-size: .67rem; }.ticket-work-progress { min-width: 70px; text-align: right; }.ticket-work-progress strong,.ticket-work-progress small { display: block; }.ticket-work-progress strong { color: var(--primary); font-size: 1.1rem; }.ticket-work-progress small { color: var(--text-secondary); font-size: .59rem; }
.ticket-work-layout { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(360px,1.15fr); gap: 12px; padding: 11px 14px; }.ticket-stage-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin: 0; align-content: start; }.ticket-stage-facts > div { min-width: 0; padding: 7px 8px; border: 1px solid #dce4ee; border-radius: 6px; background: #fff; }.ticket-stage-facts dt { color: var(--text-secondary); font-size: .58rem; }.ticket-stage-facts dd { margin: 3px 0 0; overflow: hidden; font-size: .68rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.ticket-work-checklist { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }.ticket-work-checklist li { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 7px; align-items: center; padding: 5px 7px; border-radius: 5px; background: #fff7e8; }.ticket-work-checklist li > span { display: grid; place-items: center; width: 18px; height: 18px; color: #956000; border-radius: 50%; background: #ffe5a5; font-size: .62rem; font-weight: 900; }.ticket-work-checklist strong,.ticket-work-checklist small { display: block; }.ticket-work-checklist strong { font-size: .66rem; }.ticket-work-checklist small { margin-top: 1px; color: var(--text-secondary); font-size: .58rem; }.ticket-work-checklist li.done { background: #edf9f4; }.ticket-work-checklist li.done > span { color: #fff; background: #15936f; }.ticket-work-summary > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; border-top: 1px solid #dbe5f1; background: #fff; }.work-attention,.work-ready { font-size: .67rem; font-weight: 750; }.work-attention { color: #a15f00; }.work-ready { color: #13745a; }
.ticket-activation-plan { margin: 12px 0 16px; overflow: hidden; border: 1px solid #cbd8e8; border-radius: 9px; background: #fff; }.ticket-activation-plan > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-bottom: 1px solid #dfe7f0; background: #f8fbff; }.ticket-activation-plan h2 { margin: 2px 0; font-size: .85rem; }.ticket-activation-plan header p { margin: 0; color: var(--text-secondary); font-size: .62rem; }.ticket-activation-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }.ticket-activation-actions > span { padding: 4px 7px; color: #36516f; border-radius: 999px; background: #e8f0fa; font-size: .59rem; font-weight: 800; white-space: nowrap; }.ticket-activation-actions > span.attention { color: #98322c; background: #ffe6e3; }.ticket-activation-actions a,.ticket-activation-plan header a { color: var(--primary); font-size: .67rem; font-weight: 800; white-space: nowrap; }.ticket-activation-goals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 9px 11px; }.ticket-activation-goals article { display: grid; grid-template-columns: minmax(150px,.8fr) minmax(0,1.2fr); gap: 10px; min-width: 0; padding: 7px 8px; border: 1px solid #e1e7ef; border-left: 3px solid #2c66aa; border-radius: 6px; background: #fbfcfe; }.ticket-activation-goals article.missing { border-color: #edb0ab; border-left-color: #c93e35; background: #fff8f7; }.ticket-activation-goal-title,.ticket-activation-materials { min-width: 0; }.ticket-activation-goal-title span,.ticket-activation-materials span { display: block; margin-bottom: 2px; color: var(--text-secondary); font-size: .55rem; font-weight: 750; text-transform: uppercase; }.ticket-activation-goal-title strong,.ticket-activation-materials strong { display: block; overflow: hidden; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }.ticket-activation-goals article.missing .ticket-activation-materials strong { color: #a4312b; }.ticket-activation-requests { display: grid; gap: 5px; padding: 0 11px 9px; }.ticket-activation-requests a { display: grid; grid-template-columns: 76px minmax(120px,.7fr) minmax(0,1.3fr); gap: 8px; align-items: center; min-width: 0; padding: 6px 8px; color: inherit; border: 1px solid #efb0ab; border-left: 3px solid #c93e35; border-radius: 6px; background: #fff5f4; text-decoration: none; }.ticket-activation-requests a:hover { background: #ffeae8; }.ticket-activation-requests span { color: #a4312b; font-size: .55rem; font-weight: 850; }.ticket-activation-requests strong,.ticket-activation-requests small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.ticket-activation-requests strong { font-size: .64rem; }.ticket-activation-requests small { color: var(--text-secondary); font-size: .59rem; }
.ticket-context-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(270px,.55fr); gap: 12px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border); }.ticket-description-panel { min-width: 0; padding: 11px 12px; border: 1px solid var(--border); border-radius: 7px; background: #fbfcfe; }.ticket-description-panel h2 { margin: 3px 0 7px; }.ticket-description-panel .ticket-description { max-width: 76ch; max-height: 13.5em; overflow: auto; margin: 0; padding-right: 8px; line-height: 1.55; white-space: pre-wrap; }.compact-ticket-facts { display: grid; grid-template-columns: 1fr; align-content: start; margin: 0; border: 1px solid var(--border); border-radius: 7px; background: #fff; }.compact-ticket-facts > div { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 7px 10px; border-bottom: 1px solid var(--border); }.compact-ticket-facts > div:last-child { border-bottom: 0; }.compact-ticket-facts dt { color: var(--text-secondary); font-size: .62rem; }.compact-ticket-facts dd { margin: 0; text-align: right; font-size: .67rem; font-weight: 750; }
@keyframes training-pulse { 0%,100% { box-shadow: 0 0 0 2px rgba(217,64,55,.10); } 50% { box-shadow: 0 0 0 6px rgba(217,64,55,.20); } }

.pilot-cleanup-warning { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px 14px; }.pilot-cleanup-warning strong { white-space: nowrap; }.pilot-cleanup-warning a { color: inherit; font-weight: 850; white-space: nowrap; }.pilot-cleanup-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }.pilot-cleanup-summary .metric-card { min-height: 112px; padding: 15px; border: 1px solid var(--border); border-top: 3px solid #557aa9; border-radius: 9px; background: #fff; box-shadow: var(--shadow); }.pilot-cleanup-summary .metric-card.danger { border-top-color: #c43f37; }.pilot-cleanup-summary .metric-card.safe { border-top-color: #15936f; }.pilot-cleanup-summary span,.pilot-cleanup-summary strong,.pilot-cleanup-summary small { display: block; }.pilot-cleanup-summary span { color: var(--muted); font-size: .65rem; font-weight: 850; letter-spacing: .07em; }.pilot-cleanup-summary strong { margin: 5px 0; font-size: 1.55rem; }.pilot-cleanup-summary small { color: var(--muted); font-size: .69rem; }.pilot-cleanup-card { padding-bottom: 18px; }.pilot-cleanup-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 18px 12px; }.pilot-cleanup-scope > div { padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: #f8fafc; }.pilot-cleanup-scope strong { font-size: .76rem; }.pilot-cleanup-scope ul { margin: 8px 0 0 18px; padding: 0; color: var(--text-secondary); font-size: .71rem; line-height: 1.7; }.pilot-client-option { margin: 0 18px 14px; border-color: #e7b96c; background: #fff9ed; }.pilot-cleanup-card > .button,.pilot-cleanup-card > .notice { margin: 0 18px; }.pilot-double-confirmation { display: grid; gap: 9px; margin: 0 18px; padding: 12px; border: 1px solid #e2a19b; border-radius: 8px; background: #fff7f6; }.pilot-confirmation-step { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 9px; align-items: start; }.pilot-confirmation-step > span { display: grid; place-items: center; width: 26px; height: 26px; color: #fff; border-radius: 50%; background: #b83b34; font-weight: 900; }.pilot-confirmation-step > label:not(.field) { display: flex; align-items: center; gap: 8px; min-height: 28px; font-size: .72rem; }.pilot-confirmation-step .field { margin: 0; }.pilot-confirmation-step code { display: inline-block; width: fit-content; margin: 3px 0 6px; padding: 4px 7px; color: #8d2d28; border: 1px solid #e2a19b; border-radius: 4px; background: #fff; font-weight: 850; letter-spacing: .04em; }
.pilot-cleanup-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0 18px; }.pilot-cleanup-options article { display: grid; align-content: start; gap: 8px; padding: 14px; border: 1px solid var(--border); border-radius: 9px; background: #f8fafc; }.pilot-cleanup-options article.directory-cleanup { border-color: #e2a19b; background: #fff7f6; }.pilot-cleanup-options h3,.pilot-cleanup-options p { margin: 0; }.pilot-cleanup-options p { min-height: 42px; color: var(--text-secondary); font-size: .72rem; line-height: 1.5; }.pilot-cleanup-options .button { justify-self: start; margin-top: 2px; }.pilot-selected-scope { display: grid; gap: 2px; padding: 9px 10px; border: 1px solid #e2a19b; border-radius: 6px; background: #fff; }.pilot-selected-scope small { color: var(--text-secondary); }

.absence-rule-note { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; align-items: center; }.absence-rule-note strong { white-space: nowrap; }.absence-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 14px 0; }.absence-summary article { padding: 14px 16px; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 9px; background: #fff; box-shadow: var(--shadow); }.absence-summary span,.absence-summary strong,.absence-summary small { display: block; }.absence-summary span { color: var(--muted); font-size: .65rem; font-weight: 850; letter-spacing: .07em; }.absence-summary strong { margin: 4px 0; font-size: 1.45rem; }.absence-summary small,.table-subline { display: block; margin-top: 3px; color: var(--muted); font-size: .66rem; }.absence-table td { vertical-align: middle; }.absence-replacement-arrow { color: var(--primary); font-weight: 900; }.absence-note { display: block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.absence-return-overdue { background: #fff9ed; }.absence-modal { width: min(720px,calc(100vw - 32px)); }

/* Korporativni Kanban prikaz */
.kanban-page-heading {
    min-height: 48px;
    align-items: center;
    margin-bottom: 7px;
}
.kanban-heading-copy { display: grid; gap: 0; }
.kanban-page-heading .eyebrow { margin-bottom: 1px; color: #5f7592; font-size: .58rem; letter-spacing: .13em; }
.kanban-page-heading h1 { color: #16243a; font-size: 1.28rem; font-weight: 720; letter-spacing: -.025em; }
.kanban-page-heading p { margin-top: 2px; color: #66758a; font-size: .67rem; }
.kanban-page-heading .button { min-height: 34px; padding: 6px 13px; border-radius: 6px; box-shadow: 0 2px 7px rgba(32,69,121,.13); }

.kanban-toolbar {
    position: relative;
    z-index: 14;
    min-height: 44px;
    gap: 8px;
    margin-bottom: 7px;
    padding: 5px 7px;
    border-color: #d4deea;
    border-radius: 8px;
    box-shadow: 0 2px 9px rgba(31,54,83,.055);
}
.kanban-toolbar .search-box { flex: 0 1 680px; width: clamp(420px,44vw,680px); }
.kanban-toolbar .search-box input { height: 32px; color: #26364e; background: #f9fbfd; border-color: #cdd8e5; }
.kanban-toolbar .search-box input:focus { background: #fff; border-color: #87a7cc; box-shadow: 0 0 0 3px rgba(43,87,154,.08); }
.kanban-ticket-count { min-width: 63px; display: flex; align-items: baseline; justify-content: center; gap: 4px; padding: 0 8px; color: #617086; border-right: 1px solid #e1e7ef; font-size: .66rem; white-space: nowrap; }
.kanban-ticket-count strong { color: #24344b; font-size: .9rem; font-weight: 800; }

.kanban-view-menu { position: relative; }
.kanban-view-menu > summary { min-height: 32px; display: flex; align-items: center; gap: 6px; padding: 5px 8px; color: #304866; background: #f7f9fc; border: 1px solid #cbd7e5; border-radius: 6px; cursor: pointer; font-size: .66rem; font-weight: 700; list-style: none; user-select: none; }
.kanban-view-menu > summary::-webkit-details-marker { display: none; }
.kanban-view-menu > summary:hover,.kanban-view-menu[open] > summary { color: var(--brand); border-color: #9fb8d6; background: #edf4fc; }
.kanban-view-menu > summary > span:first-child { width: 24px; height: 21px; display: grid; place-items: center; color: var(--brand); background: #e6eef8; border-radius: 4px; font-family: Georgia,serif; font-size: .68rem; }
.kanban-view-menu > summary strong { min-width: 31px; color: #1f477a; text-align: right; }
.kanban-view-menu > summary i { color: #758399; font-style: normal; }
.kanban-view-popover { position: absolute; top: calc(100% + 7px); right: 0; z-index: 50; width: 272px; display: grid; gap: 11px; padding: 13px; background: #fff; border: 1px solid #c6d2e0; border-radius: 9px; box-shadow: 0 16px 38px rgba(22,36,58,.2); }
.kanban-view-popover > div:first-child strong,.kanban-view-popover > div:first-child small { display: block; }
.kanban-view-popover > div:first-child strong { font-size: .76rem; }
.kanban-view-popover > div:first-child small { margin-top: 3px; color: #6b778b; font-size: .63rem; }
.kanban-scale-options { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.kanban-scale-options button { min-height: 33px; padding: 5px; color: #42536a; background: #f7f9fc; border: 1px solid #d3dce7; border-radius: 5px; cursor: pointer; font-size: .68rem; font-weight: 720; }
.kanban-scale-options button:hover { color: var(--brand); border-color: #9fb8d6; background: #edf4fc; }
.kanban-scale-options button.active { color: #fff; border-color: var(--brand); background: var(--brand); box-shadow: 0 2px 6px rgba(43,87,154,.2); }
.kanban-scale-reset { justify-self: start; padding: 0; color: #55708f; background: transparent; border: 0; cursor: pointer; font-size: .63rem; font-weight: 700; }
.kanban-scale-reset:hover { color: var(--brand); text-decoration: underline; }

.kanban-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.kanban-stage .kanban-phase-nav { position: relative; top: auto; z-index: 3; flex: 0 0 auto; gap: 3px; margin-bottom: 7px; padding: 4px; background: #e9eef4; border-color: #d3dde9; box-shadow: inset 0 1px rgba(255,255,255,.7); }
.kanban-stage .kanban-phase-nav a { min-height: 25px; padding: 3px 7px; color: #536176; background: rgba(255,255,255,.8); border-color: transparent; font-size: .58rem; font-weight: 620; }
.kanban-stage .kanban-phase-nav a:hover { color: #1f477a; background: #fff; border-color: #aebfd3; }
.kanban-stage .kanban-phase-nav i { width: 6px; height: 6px; opacity: .82; box-shadow: 0 0 0 2px color-mix(in srgb,var(--status-color) 12%,transparent); }

.kanban-stage .kanban-board { gap: var(--kanban-column-gap); padding: 0 2px 9px; scrollbar-color: #aebdce #e7edf4; scrollbar-width: auto; }
.kanban-stage .kanban-column { position: relative; width: var(--kanban-column-width); min-width: var(--kanban-column-width); background: #f2f5f8; border: 1px solid #d3dce7; border-top: 0; border-radius: 8px; box-shadow: 0 1px 2px rgba(20,38,62,.035); }
.kanban-stage .kanban-column::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 2; height: 3px; background: color-mix(in srgb,var(--status-color) 68%,#73849a); border-radius: 8px 8px 0 0; }
.kanban-stage .kanban-column header { min-height: 52px; gap: 8px; padding: 8px 10px 7px; background: #fff; border-bottom-color: #dce4ed; font-size: var(--kanban-body-size); }
.kanban-stage .kanban-column header strong { color: #1d2d44; font-weight: 750; }
.kanban-stage .kanban-status-copy small { margin-top: 2px; color: #768296; font-size: var(--kanban-small-size); line-height: 1.2; }
.kanban-stage .status-dot { width: 7px; height: 7px; opacity: .82; }
.kanban-stage .count-badge { min-width: 25px; min-height: 21px; display: inline-grid; place-items: center; padding: 2px 7px; color: #40516a; background: #f2f5f8; border: 1px solid #dbe3ec; font-size: calc(var(--kanban-small-size) + .05rem); font-weight: 800; }
.kanban-stage .kanban-empty { margin: 8px; padding: 14px 8px; color: #8490a1; background: rgba(255,255,255,.6); border-color: #cbd5e1; border-radius: 6px; font-size: var(--kanban-body-size); }
.kanban-stage .kanban-cards { grid-auto-rows: max-content; gap: var(--kanban-card-gap); padding: 8px; scrollbar-color: #b8c4d2 transparent; }

.kanban-stage .ticket-card { position: relative; min-height: max-content; overflow: hidden; padding: var(--kanban-card-padding); background: #fff; border: 1px solid #d5dee8; border-radius: 7px; box-shadow: 0 1px 3px rgba(24,39,63,.06); transition: border-color .14s,box-shadow .14s,transform .14s; }
.kanban-stage .ticket-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: color-mix(in srgb,var(--status-color) 48%,#93a1b3); opacity: .65; }
.kanban-stage .ticket-card.has-warning-signal::before { background: #d89217; opacity: 1; }
.kanban-stage .ticket-card.has-critical-signal { border-color: #e4b1ad; }
.kanban-stage .ticket-card.has-critical-signal::before { width: 4px; background: #c53d35; opacity: 1; }
.kanban-stage .ticket-card:hover { z-index: 1; border-color: #9fb3ca; box-shadow: 0 7px 18px rgba(29,54,88,.12); transform: translateY(-1px); }
.kanban-stage .ticket-card:focus-visible { outline: 3px solid rgba(43,87,154,.28); outline-offset: 1px; }
.kanban-stage .ticket-card-top { min-height: 23px; gap: 7px; }
.kanban-stage .ticket-number { color: #2b579a; font-family: "Segoe UI",Arial,sans-serif; font-size: var(--kanban-small-size); font-weight: 800; letter-spacing: .035em; }
.kanban-stage .ticket-card-badges { gap: 4px; }
.kanban-stage .ticket-drag-handle { width: 17px; color: #93a0b1; cursor: grab; font-size: calc(var(--kanban-body-size) + .06rem); line-height: 1; opacity: .25; transition: opacity .14s,color .14s; }
.kanban-stage .ticket-card:hover .ticket-drag-handle { color: #58708e; opacity: 1; }
.kanban-stage .ticket-card .priority { min-height: 20px; padding: 2px 6px; border-radius: 5px; font-size: var(--kanban-small-size); font-weight: 720; }
.kanban-stage .ticket-card .priority-3 { color: #315c8f; background: #eef4fa; border-color: #cad9e9; }
.kanban-stage .ticket-card h3 { display: -webkit-box; overflow: hidden; margin: 7px 0 6px; color: #15243a; font-size: var(--kanban-title-size); font-weight: 750; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.kanban-stage .ticket-card-training { margin: 0 0 6px; }
.kanban-stage .ticket-card .training-attention-badge.compact { max-width: 100%; padding: 3px 6px; border-radius: 5px; font-size: var(--kanban-small-size); }
.kanban-stage .ticket-card .training-attention-badge.compact strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kanban-stage .ticket-card .training-attention-badge.urgent { box-shadow: none; animation: none; }

.kanban-stage .ticket-flow-signal { grid-template-columns: 18px minmax(0,1fr); gap: 6px; margin: 6px 0; padding: 5px 6px; border-width: 1px; border-left-width: 3px; border-radius: 5px; box-shadow: none; }
.kanban-stage .ticket-flow-signal > span { width: 17px; height: 17px; font-size: var(--kanban-small-size); }
.kanban-stage .ticket-flow-signal strong { font-size: var(--kanban-body-size); font-weight: 760; }
.kanban-stage .ticket-flow-signal small { font-size: var(--kanban-small-size); }
.kanban-stage .ticket-flow-signal.waiting { color: #684b16; border-color: #e2c37f; background: #fffaf0; }
.kanban-stage .ticket-flow-signal.waiting > span { background: #b27a18; }
.kanban-stage .ticket-flow-signal.urgent { color: #842c27; border-color: #e5aaa5; background: #fff6f5; }
.kanban-stage .ticket-flow-signal.deadline-soon { color: #795015; border-color: #e8c37f; background: #fffaf0; }
.kanban-stage .ticket-instruction-warning { min-height: 27px; margin: 6px 0; padding: 5px 7px; color: #913b34; background: #fff7f6; border-color: #e9b4af; border-radius: 5px; font-size: var(--kanban-small-size); }
.kanban-stage .ticket-instruction-warning-copy { font-size: var(--kanban-small-size); }

.kanban-stage .ticket-next { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 6px; margin: 7px 0; padding: 7px; color: #394b63; background: #f5f7fa; border: 1px solid #e7ebf0; border-radius: 5px; font-size: var(--kanban-body-size); }
.kanban-stage .ticket-next-icon { width: 18px; height: 18px; display: grid; place-items: center; color: #526d8c; background: #e8eef5; border-radius: 4px; font-size: var(--kanban-small-size); }
.kanban-stage .ticket-next > span:last-child { min-width: 0; }
.kanban-stage .ticket-next em,.kanban-stage .ticket-next strong,.kanban-stage .ticket-next small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kanban-stage .ticket-next em { margin-bottom: 2px; color: #738094; font-size: var(--kanban-small-size); font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }
.kanban-stage .ticket-next strong { color: #33465f; font-size: var(--kanban-body-size); font-weight: 680; }
.kanban-stage .ticket-next small { margin-top: 2px; color: #778599; font-size: var(--kanban-small-size); }

.kanban-stage .ticket-card footer { min-height: 28px; gap: 7px; padding-top: 7px; border-top-color: #e8edf2; font-size: var(--kanban-small-size); }
.kanban-stage .ticket-owner { min-width: 0; display: flex; align-items: center; gap: 5px; }
.kanban-stage .owner-mini { width: 23px; height: 23px; flex: 0 0 auto; color: #2b579a; background: #eaf1f9; border: 1px solid #d6e2ef; font-size: var(--kanban-small-size); }
.kanban-stage .ticket-owner-name { max-width: 84px; overflow: hidden; color: #59677a; text-overflow: ellipsis; white-space: nowrap; }
.kanban-stage .ticket-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-left: auto; white-space: nowrap; }
.kanban-stage .ticket-card-actions > strong { color: #2d3d53; font-size: var(--kanban-small-size); }
.kanban-stage .ticket-card-actions > strong span,.kanban-stage .ticket-license-missing { color: #748195; font-weight: 600; }
.kanban-stage .ticket-proforma-button { width: 25px; height: 24px; min-height: 0; display: grid; place-items: center; margin: 0; padding: 0; color: #8a5b18; background: #fffaf2; border: 1px solid #e3c48d; border-radius: 5px; font-size: var(--kanban-body-size); }
.kanban-stage .ticket-proforma-button:hover { color: #70440a; background: #fff2d9; border-color: #cc9d4b; }
.kanban-stage .proforma-badge.compact { min-width: 21px; min-height: 20px; padding: 2px 5px; border-radius: 5px; }
.kanban-stage .proforma-icon { font-size: var(--kanban-body-size); }

.kanban-has-tooltip { cursor: help; }
.ticket-drag-handle.kanban-has-tooltip { cursor: grab; }
.ticket-proforma-button.kanban-has-tooltip { cursor: pointer; }
.kanban-tooltip-portal {
    position: fixed;
    z-index: 10000;
    width: max-content;
    max-width: min(310px,calc(100vw - 20px));
    padding: 7px 9px;
    color: #fff;
    background: #17243a;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(17,31,52,.24);
    font-size: .69rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity .1s ease,transform .1s ease;
}
.kanban-tooltip-portal.visible { opacity: 1; transform: translateY(0); }
.kanban-tooltip-portal[hidden] { display: none; }

.kanban-board.is-dragging .kanban-column.drag-allowed { background: #edf4fb; border-color: #86a7cb; box-shadow: inset 0 0 0 2px rgba(43,87,154,.12); }
.kanban-board.is-dragging .kanban-column.drag-allowed.drop-hover { background: #e4eef9; border-color: #4d78aa; box-shadow: inset 0 0 0 3px rgba(43,87,154,.2); }

@media (min-width: 2200px) {
    .content-area:has(> .kanban-page-heading) { padding-right: 24px; padding-left: 24px; }
}

@media (max-width: 1050px) {
    .sidebar { width: 78px; }
    .brand { justify-content: center; padding: 0; }.brand-copy, .nav-caption, .main-navigation a:not(.active) { }
    .brand-copy, .sidebar-footer span:not(.environment-dot) { display: none; }
    .main-navigation a { justify-content: center; padding: 9px; font-size: 0; }.nav-icon { font-size: 1.1rem; }
    .workspace { width: calc(100% - 78px); margin-left: 78px; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }.dashboard-grid, .settings-layout, .ticket-detail-grid, .module-grid, .report-grid { grid-template-columns: 1fr; }.qualification-grid, .ticket-client-grid, .ticket-contact-grid { grid-template-columns: repeat(2,1fr); }
    .process-list { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .proforma-mail-toolbar { grid-template-columns: 1fr auto; }.proforma-recipient { grid-column: 1 / -1; }
    .training-center-summary { grid-template-columns: repeat(2,1fr); }.training-term-grid,.training-catalog-grid { grid-template-columns: repeat(2,1fr); }.training-notification-layout,.trial-plan-layout,.instruction-package-layout { grid-template-columns: 1fr; }.role-checklist-grid { grid-template-columns: 1fr 1fr; }
    .process-focus-card,.ticket-work-layout,.ticket-context-layout { grid-template-columns: 1fr; }.current-stage-checklist ul { grid-template-columns: repeat(2,minmax(0,1fr)); }.ticket-context-layout .compact-ticket-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }.compact-ticket-facts > div:nth-last-child(2) { border-bottom: 0; }
    .admin-correction-stages { grid-template-columns: repeat(2,minmax(0,1fr)); }.pilot-cleanup-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }.absence-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .topbar-ticket-context > strong { max-width: 22vw; }
    .lookup-maintenance-toolbar { grid-template-columns: 1fr; }.lookup-toolbar-summary { min-width: 0; }.lookup-toolbar-grid,.goal-suggestion-admin-toolbar .lookup-toolbar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1400px) {
    .ticket-create-layout { grid-template-columns: 1fr; }
    .ticket-import-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ticket-create-side { padding-top: 3px; padding-left: 0; border-top: 1px solid var(--border); border-left: 0; }
    .ticket-create-side .form-section-heading.first-section { margin-top: 17px; padding-top: 14px; border-top: 0; }
}

@media (max-width: 900px) {
    .kanban-toolbar .search-box { flex-basis: 100%; width: 100%; }
    .installation-briefing-grid,.installation-goals-summary { grid-template-columns: 1fr; }
    .installation-goals-summary ol { grid-template-columns: 1fr; }
    .installation-start-panel,.installation-interrupted-panel { grid-template-columns: 1fr; }
    .installation-call-outcome-heading { align-items: stretch; flex-direction: column; }
    .installation-postpone-form { grid-template-columns: 1fr; }
    .installation-postpone-form .span-all { grid-column: auto; }
    .ticket-import-grid, .ticket-create-followup { grid-template-columns: 1fr; }
    .ticket-create-task .ticket-task-grid { grid-template-columns: 1fr; }
    .ticket-edit-client-grid, .ticket-edit-contact-grid, .ticket-edit-ticket-grid { grid-template-columns: 1fr 1fr; }
    .ticket-edit-id, .ticket-edit-description { grid-column: 1 / -1; }
    .transition-form-grid.three-columns, .transition-form-grid.four-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .transition-status-summary { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .sidebar { display: none; }.workspace { width: 100%; margin-left: 0; }
    .topbar { height: 60px; padding: 0 16px; }.topbar-context { display: none; }
    .topbar { justify-content: flex-end; }.content-area { padding: 20px 14px 38px; }.content-area:has(> .kanban-page-heading) { height: calc(100dvh - 60px); padding: 10px 10px 6px; }
    .topbar-actions { width: 100%; justify-content: space-between; gap: 7px; }.topbar:has(.topbar-ticket-context) { gap: 7px; padding-left: 8px; }.topbar:has(.topbar-ticket-context) .topbar-actions { width: auto; }.topbar:has(.topbar-ticket-context) .admin-quick-menu { display: none; }.topbar-ticket-context { gap: 6px; }.topbar-ticket-context::before { width: 26px; height: 26px; }.topbar-ticket-context .topbar-divider { display: none; }.topbar-ticket-context > strong { max-width: 22vw; font-size: .72rem; }.topbar-ticket-status { padding: 4px 6px; font-size: .61rem; }.admin-quick-menu nav, .account-quick-menu nav { position: fixed; top: 66px; right: 10px; left: 10px; width: auto; }.admin-quick-menu summary { padding: 7px 9px; }.operator-chip { padding-right: 7px; }.operator-identity { display: none; }
    .page-heading { align-items: flex-start; flex-direction: column; }.heading-actions { width: 100%; flex-wrap: wrap; }
    .kpi-grid, .dashboard-grid, .backup-grid, .form-grid.two-columns, .admin-grid, .role-options, .compact-form-grid, .qualification-grid, .ticket-client-grid, .ticket-contact-grid, .ticket-opportunity-grid, .ticket-task-grid, .ticket-edit-grid, .ticket-edit-client-grid, .ticket-edit-contact-grid, .ticket-edit-ticket-grid, .ticket-import-meta, .transition-form-grid.two-columns, .transition-form-grid.three-columns, .transition-form-grid.four-columns, .training-interest-options { grid-template-columns: 1fr; }.field-span-2, .ticket-edit-id, .ticket-edit-description { grid-column: auto; }.inline-form { align-items: stretch; flex-direction: column; }.process-tabs { top: 60px; }.funnel-list > div { grid-template-columns: 110px 1fr 70px; }.stage-bars > div { grid-template-columns: 100px 1fr 25px; }
    .setup-banner { grid-template-columns: auto 1fr; }.setup-banner .button { grid-column: 1 / -1; }
    .toolbar, .table-toolbar, .scope-toolbar, .dashboard-obligation-header, .dashboard-header-actions { flex-wrap: wrap; }.scope-toolbar, .dashboard-obligation-header { align-items: stretch; flex-direction: column; }.dashboard-header-actions { align-items: stretch; }.dashboard-header-actions .compact-select { width: 100%; }.search-box { min-width: 100%; }.compact-select { width: 100%; justify-content: space-between; }.compact-select select { flex: 1; }
    .dashboard-task-list > .dashboard-task-row,.dashboard-task-list > .dashboard-task-row:has(.operator-inline) { grid-template-columns: minmax(0,1fr) max-content; gap: 6px 12px; }.dashboard-task-row .dashboard-task-target { grid-column: 1 / -1; grid-row: 1; }.dashboard-task-row .dashboard-ticket-cell { grid-column: 1; grid-row: 2; }.dashboard-task-row .operator-inline { grid-column: 1; grid-row: 3; }.dashboard-task-row .dashboard-task-meta { grid-column: 2; grid-row: 2 / span 2; width: auto; }
    .client-mode-switch { width: 100%; }.client-mode-switch button { flex: 1; }.client-entry-panel { padding: 13px; }
    .process-list { grid-template-columns: 1fr; }.process-list li::after { display: none; }
    .login-header { padding: 0 18px; }.login-header > span { display: none; }.login-stage { padding: 25px 14px; }.login-card { padding: 22px 18px; }
    .proforma-mail-toolbar,.proforma-confirm-summary { grid-template-columns: 1fr; }.proforma-mail-toolbar > *,.proforma-recipient { width: 100%; grid-column: auto; }.proforma-confirm-list li { grid-template-columns: 1fr; gap: 3px; }
    .guide-progress-steps,.guide-question-grid,.installation-agreement-fields,.goal-entry-row,.goal-tag-editor,.sector-lookup-editor,.role-checklist-grid,.onboarding-goal-list,.request-material-options,.training-center-summary,.training-term-grid,.training-catalog-grid,.training-notification-layout,.ticket-guide-steps,.contact-participants,.commercial-decision-grid,.instruction-package-layout { grid-template-columns: 1fr; }.goal-needs-context { grid-template-columns: 1fr; gap: 3px; }.contact-participant-link { min-height: 34px; }.contact-participant-link > span { transform: rotate(90deg); }.training-term-grid,.training-catalog-grid,.training-notification-layout { padding-right: 12px; padding-left: 12px; }.guide-suggestions-panel,.guide-suggestions.drop-up .guide-suggestions-panel { position: fixed; top: 90px; right: 12px; bottom: auto; left: 12px; width: auto; transform: none; }.ticket-training-callout { align-items: flex-start; flex-direction: column; }.commercial-decision-criterion { grid-column: auto; }
    .action-toast { top: 72px; right: 12px; bottom: auto; left: 12px; max-width: none; grid-template-columns: 32px minmax(0,1fr) 28px; }.contact-directory-list > article { grid-template-columns: 34px minmax(0,1fr); }.contact-directory-list > article > .button { grid-column: 1 / -1; }.contact-edit-actions { grid-template-columns: 1fr 1fr !important; }.contact-edit-actions > span { display: none; }.contact-deactivate-button { grid-column: 1 / -1; }.guide-question.wide { grid-column: auto; }
    .current-system-add { grid-template-columns: 1fr 30px; }.current-system-add .field { grid-column: 1 / -1; }
    .material-location-picker,.material-tag-manager { grid-template-columns: 1fr; }.material-file-button { width: 100%; }
    .lookup-toolbar-grid,.goal-suggestion-admin-toolbar .lookup-toolbar-grid { grid-template-columns: 1fr; }.lookup-actions { min-width: 0 !important; flex-wrap: wrap; }
    .process-stage-rail,.current-stage-checklist ul,.process-completed-facts,.ticket-stage-facts,.ticket-context-layout .compact-ticket-facts,.onboarding-checklist,.pilot-cleanup-summary,.pilot-cleanup-scope,.pilot-cleanup-options,.absence-summary,.task-context-grid,.followup-editor { grid-template-columns: 1fr; }.field-span-2 { grid-column: auto; }.compact-ticket-facts > div:nth-last-child(2) { border-bottom: 1px solid var(--border); }.ticket-work-summary > header,.ticket-work-summary > footer { align-items: flex-start; flex-direction: column; }.ticket-work-progress { text-align: left; }.process-work-tabs > span { display: none; }.pilot-cleanup-warning,.absence-rule-note { grid-template-columns: 1fr; }.pilot-cleanup-warning strong,.absence-rule-note strong { white-space: normal; }
}
