/* Shared UI layer. Loaded after module styles so the same scale reaches every workspace. */
:root{
    --ui-bg:#f5f7fa;
    --ui-surface:#fff;
    --ui-ink:#182b3a;
    --ui-secondary:#526575;
    --ui-brand:#14736c;
    --ui-brand-soft:#eaf5f2;
    --ui-border:#d9e2e9;
    --ui-radius:12px;
    --ui-focus:#286fbc;
    --ui-topbar-height:64px;
    --ink:var(--ui-ink);
    --muted:var(--ui-secondary);
    --line:var(--ui-border);
    --brand:var(--ui-brand);
    --brand-soft:var(--ui-brand-soft);
}
html{scroll-behavior:smooth}
body{background:var(--ui-bg);color:var(--ui-ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.app-shell .topbar{height:64px;border-color:var(--ui-border);box-shadow:0 1px 3px #182b3a08}
.app-shell .app-frame{min-height:calc(100vh - var(--ui-topbar-height))}
.app-shell .sidebar{top:var(--ui-topbar-height);height:calc(100vh - var(--ui-topbar-height));flex-basis:244px;width:244px;border-color:var(--ui-border);padding-top:14px}
.app-shell .sidebar-workspace{min-height:48px;margin-bottom:11px}
.app-shell .nav-link,.app-shell .nav-group>summary{font-size:13px;min-height:42px}
.app-shell .nav-submenu .nav-link{font-size:12.5px;min-height:38px}
.app-shell .submenu-label,.app-shell .nav-section-label{font-size:10px;letter-spacing:.7px}
.app-shell .content-wrap{width:min(100%,1560px);padding:26px clamp(16px,2.5vw,40px) 48px}
.app-shell h1{font-size:clamp(23px,2vw,28px);line-height:1.25;letter-spacing:-.035em}
.app-shell h2{font-size:clamp(17px,1.4vw,20px);line-height:1.3}
.app-shell .eyebrow{font-size:11px;letter-spacing:.7px}
.app-shell .muted,.app-shell .page-description{color:var(--ui-secondary);font-size:13px;line-height:1.55}
.app-shell .content-wrap>.page-head:not(.record-detail-head):not(.finance-dashboard-head):not(.whatsapp-intake-head):not(.template-page-head),
body.call-center-workspace .content-wrap>.page-header:not(.campaign-detail-header){
    padding:16px 20px;margin-bottom:18px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);
    background:var(--ui-surface);box-shadow:none
}
.app-shell .content-wrap>.page-head h1,body.call-center-workspace .content-wrap>.page-header h1{font-size:clamp(23px,2vw,28px)}
.app-shell .card,.app-shell .panel,.app-shell .detail-card,.app-shell .record-panel{border-color:var(--ui-border);border-radius:var(--ui-radius);box-shadow:0 2px 9px #182b3a08}
.app-shell label,.app-shell .form-field>label{color:#304755;font-size:13px;line-height:1.45}
.app-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.app-shell select,.app-shell textarea{font-size:14px;min-height:42px;border-color:#b9c8d2;color:var(--ui-ink)}
.app-shell input::placeholder,.app-shell textarea::placeholder{color:#657787}
.app-shell .primary,.app-shell .secondary,.app-shell .danger,.app-shell .button{font-size:13px;min-height:42px}
.app-shell .secondary{border-color:#b9c8d2;color:#244f52}
.app-shell .table-wrap{border-color:var(--ui-border);box-shadow:none}
.app-shell table{font-size:13px}
.app-shell th{font-size:11px;color:#536778;letter-spacing:.35px}
.app-shell td{font-size:13px;color:#2d4351}
.app-shell .list-filter-heading small{color:var(--ui-secondary);font-size:12px;line-height:1.4}
.app-shell .list-results span{color:var(--ui-secondary);font-size:11px}
.app-shell .record-title{font-size:14px}
.app-shell .record-subline{color:var(--ui-secondary);font-size:12px;line-height:1.4}
.app-shell .record-link{font-size:13px}
.app-shell .status-pill{font-size:11px}
.app-shell .workspace-kpi>span{color:var(--ui-secondary);font-size:12px}
.app-shell .workspace-kpi small{color:var(--ui-secondary);font-size:11px;line-height:1.4}
.app-shell .workspace-panel-head h3{font-size:14px}
.app-shell .workspace-panel-head p,.app-shell .workspace-panel-head>a{font-size:12px}
.app-shell .workspace-row-copy strong{font-size:12px}
.app-shell .workspace-row-copy small,.app-shell .workspace-row time,.app-shell .workspace-empty{font-size:11px}
.app-shell .detail-heading p,.app-shell .detail-grid .detail-heading p,
.app-shell .detail-list dt,.app-shell .detail-grid .detail-list dt{font-size:12px;color:var(--ui-secondary)}
.app-shell .detail-list dd,.app-shell .detail-grid .detail-list dd{font-size:13px;color:var(--ui-ink)}
.app-shell .record-facts span,.app-shell .record-panel small{font-size:12px}
.app-shell .form-grid{gap:16px 20px}
.app-shell .form-grid>label,.app-shell .form-grid>.record-picker{min-width:0;margin:0}
.app-shell .form-grid label small{display:block;margin-top:5px;font-size:12px;line-height:1.45;color:var(--ui-secondary)}
.app-shell .badge,.app-shell .status-badge{font-size:11px}
.app-shell .alert{font-size:13px;line-height:1.55}
.app-shell .alert a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.app-shell .form-error-summary{scroll-margin-top:85px}
.app-shell .shell-inline-error{display:block;margin-top:4px;color:#982d2a;font-size:12px;line-height:1.45}
.app-shell :is(input,select,textarea,button,a,summary,[tabindex]):focus-visible{outline:3px solid var(--ui-focus);outline-offset:2px}
.skip-link{position:fixed;top:8px;left:8px;z-index:1000;padding:11px 16px;border-radius:8px;background:#183d48;color:#fff;transform:translateY(-150%)}
.skip-link:focus{transform:translateY(0);color:#fff}
.app-shell .nav-link[aria-current=page]{background:var(--ui-brand-soft);color:#12554f!important;font-weight:750}
.app-shell .crm-top-search input{font-size:14px}
.app-shell .crm-top-search-results a{font-size:13px}
.app-shell .crm-top-search-results a small{font-size:12px}
.app-shell .record-picker [data-picker-results]{border-radius:9px}
.app-shell .record-picker{position:relative;min-width:0}
.app-shell .record-picker>label{display:block;margin:0 0 6px}
.app-shell .record-picker-control{position:relative}
.app-shell .record-picker-control input{width:100%;margin:0;padding-right:76px}
.app-shell .record-picker-clear{position:absolute;top:50%;right:5px;transform:translateY(-50%);min-height:32px;padding:4px 8px;border:0;border-radius:6px;background:#eef4f4;color:#255a57;cursor:pointer;font-size:11px;font-weight:700}
.app-shell .record-picker small{display:block;margin-top:5px;color:var(--ui-secondary);font-size:12px}
.app-shell .record-picker-create{margin-top:8px}
.app-shell .record-picker [data-picker-results]{position:absolute;left:0;right:0;top:100%;z-index:30;max-height:240px;overflow:auto;padding:5px;border:1px solid var(--ui-border);border-radius:9px;background:#fff;box-shadow:0 12px 30px #182b3a22}
.app-shell .record-picker [data-picker-results] button{display:block;width:100%;padding:10px 12px;border:0;border-radius:6px;background:#fff;color:var(--ui-ink);font-size:13px;text-align:left;cursor:pointer}
.app-shell .record-picker [data-picker-results] button:is(:hover,[aria-selected=true]){background:var(--ui-brand-soft)}
.app-shell [hidden]{display:none!important}
.app-shell .pagination :is(svg,.icon){width:18px;height:18px;max-width:18px;max-height:18px}
.app-shell .pagination :is(a,span){min-width:36px;min-height:36px}
.app-shell nav[role="navigation"][aria-label="Sayfalama"]{min-width:0;margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--ui-border);font-size:12px;color:var(--ui-secondary)}
.app-shell nav[role="navigation"][aria-label="Sayfalama"]>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}
.app-shell nav[role="navigation"][aria-label="Sayfalama"]>div:last-child>div:first-child p{margin:0;color:var(--ui-secondary);font-size:12px}
.app-shell nav[role="navigation"][aria-label="Sayfalama"]>div:last-child>div:last-child>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.app-shell nav[role="navigation"][aria-label="Sayfalama"]>div:last-child>div:last-child>span :is(a,[aria-current="page"]>span,[aria-disabled="true"]>span){display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:6px 10px;border:1px solid var(--ui-border);border-radius:8px;background:#fff;color:#344f5f;text-decoration:none;font-size:12px;font-weight:700}
.app-shell nav[role="navigation"][aria-label="Sayfalama"] [aria-current="page"]>span{border-color:#8fc5b7!important;background:var(--ui-brand-soft)!important;color:#12594f!important}
.app-shell nav[role="navigation"][aria-label="Sayfalama"] [aria-disabled="true"]>span{background:#f3f6f8!important;color:#81909c!important}
.app-shell nav[role="navigation"][aria-label="Sayfalama"] svg{display:block;width:16px;height:16px;max-width:16px;max-height:16px}
.app-shell .table-wrap:focus-visible{outline:3px solid var(--ui-focus)}
.app-shell .opportunity-edit-form{width:min(100%,1000px);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;padding:24px;margin-inline:auto}
.app-shell .opportunity-edit-form .opportunity-edit-section{margin:10px 0 0;padding:0 0 12px;border-bottom:1px solid var(--ui-border)}
.app-shell .opportunity-edit-form .opportunity-edit-section:first-of-type{margin-top:0}
.app-shell .opportunity-edit-form .opportunity-edit-section strong{font-size:17px;color:var(--ui-ink)}
.app-shell .opportunity-edit-form .opportunity-edit-section span{font-size:13px;color:var(--ui-secondary)}
.app-shell .opportunity-edit-form>label,.app-shell .opportunity-edit-form>.record-picker,.app-shell .opportunity-edit-form>#opportunity-company{min-width:0;margin:0}
.app-shell .opportunity-edit-form #opportunity-company .record-picker{width:100%}
.app-shell .opportunity-edit-form .opportunity-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:10px;padding-top:18px;border-top:1px solid var(--ui-border)}
.app-shell .opportunity-edit-form .opportunity-form-actions .primary{min-width:185px}
.opportunity-mobile-save,.quote-mobile-save{display:none}
.app-shell .quote-draft-form{width:min(100%,1100px);margin-inline:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;padding:24px}
.app-shell .quote-draft-form .form-section-head{padding:0 0 12px;margin:10px 0 0;border-bottom:1px solid var(--ui-border)}
.app-shell .quote-draft-form>.form-section-head:first-of-type{margin-top:0}
.app-shell .quote-draft-form .form-section-head h2{margin:0;font-size:18px}
.app-shell .quote-draft-form .form-section-head p{font-size:13px;color:var(--ui-secondary)}
.app-shell .quote-opportunity-picker>small{display:block;margin-top:5px;color:var(--ui-secondary);font-size:12px;line-height:1.5}
.app-shell .quote-draft-form .quote-item-section{min-width:0}
.app-shell .quote-draft-form .quote-item{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;margin:14px 0;border-color:var(--ui-border);background:#fbfcfd;box-shadow:none}
.app-shell .quote-draft-form .quote-item>label:nth-of-type(1),.app-shell .quote-draft-form .quote-item>label:nth-of-type(2){grid-column:span 2}
.app-shell .quote-draft-form .quote-item>label:nth-of-type(3){grid-column:1/-1}
.app-shell .quote-draft-form .quote-item>.page-actions{justify-content:space-between;align-items:center;padding-top:10px;border-top:1px solid var(--ui-border)}
.app-shell .quote-draft-form .quote-summary{align-items:center;justify-content:flex-end;gap:18px;margin-top:14px;padding:16px;border:1px solid #c8dfd9;border-radius:10px;background:#f2faf7}
.app-shell .quote-draft-form .quote-summary strong{font-size:20px;font-variant-numeric:tabular-nums;color:#12594f}
.app-shell .quote-item-undo{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:9px 12px;border:1px solid #d9e2e9;border-radius:9px;background:#f7fafb;color:var(--ui-secondary);font-size:13px}
.app-shell .quote-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid var(--ui-border)}
body.call-center-workspace .campaign-assignment-workload{padding:0;margin:0 0 16px;overflow:hidden}
body.call-center-workspace .campaign-assignment-workload>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;cursor:pointer;list-style:none;color:var(--ui-ink)}
body.call-center-workspace .campaign-assignment-workload>summary::-webkit-details-marker{display:none}
body.call-center-workspace .campaign-assignment-workload>summary span:first-child{display:grid;gap:3px}
body.call-center-workspace .campaign-assignment-workload>summary strong{font-size:14px}
body.call-center-workspace .campaign-assignment-workload>summary small{font-size:12px;color:var(--ui-secondary)}
body.call-center-workspace .campaign-assignment-workload[open]>summary{border-bottom:1px solid var(--ui-border)}
body.call-center-workspace .campaign-assignment-workload .campaign-agent-load{padding:14px}
body.call-center-workspace .campaign-assignment-selection{position:sticky;top:calc(var(--ui-topbar-height) + 6px);z-index:11;font-size:12px;box-shadow:0 6px 12px #182b3a10}
body.call-center-workspace .campaign-assignment-selection .button{min-height:34px;padding:7px 10px;font-size:12px}
body.call-center-workspace .campaign-assignment-action{scroll-margin-top:calc(var(--ui-topbar-height) + 14px)}
.app-shell .welcome-panel,.app-shell .sales-dashboard-hero,.app-shell .cc-overview-hero,.app-shell .sa-hero{min-height:0;margin-bottom:16px;padding:20px 24px;border-radius:var(--ui-radius);box-shadow:none}
.app-shell .welcome-panel{background:#174c4b}
.app-shell .welcome-art,.app-shell .sales-dashboard-hero-mark{display:none}
.app-shell .welcome-panel h1,.app-shell .sales-dashboard-hero h1,.app-shell .cc-overview-hero h1,.app-shell .sa-hero h1{margin:5px 0;font-size:clamp(23px,2vw,28px)}
.app-shell .welcome-actions,.app-shell .sales-dashboard-actions,.app-shell .cc-hero-actions,.app-shell .sa-hero-actions{margin-top:12px}
.app-shell .workspace-kpis,.app-shell .sa-kpis{gap:10px;margin-bottom:16px}
.app-shell .workspace-kpi,.app-shell .sa-kpi{min-height:0;padding:14px;border-color:var(--ui-border);box-shadow:none}
.app-shell .workspace-kpi>span,.app-shell .sa-kpi>span{font-size:12px;color:var(--ui-secondary)}
.app-shell .workspace-kpi>small,.app-shell .sa-kpi>em{font-size:11px;color:var(--ui-secondary)}
.app-shell .dashboard-action-rail>a{min-height:0;padding:13px 15px;border-color:var(--ui-border);box-shadow:none}
.app-shell .workspace-panel,.app-shell .sa-panel{border-color:var(--ui-border);box-shadow:none}
.app-shell .workspace-panel-head h2,.app-shell .sa-panel-head h2{font-size:17px}
.app-shell .workspace-panel-head p,.app-shell .sa-panel-head p{font-size:12px;color:var(--ui-secondary)}
.app-shell .sa-chart-legend>span,.app-shell .sa-chart-group>span,.app-shell .sa-meter-row>div span,.app-shell .sa-meter-row>div strong,.app-shell .sa-callcenter-stats span,.app-shell .sa-shortcut-grid strong,.app-shell .sa-shortcut-grid small{font-size:11px}
.app-shell .sa-attention-type,.app-shell .sa-attention-copy small,.app-shell .sa-audit-row small,.app-shell .sa-attention-row time,.app-shell .sa-audit-row time,.app-shell .sa-attention-open{font-size:11px}
.app-shell .sa-attention-copy strong,.app-shell .sa-audit-row strong{font-size:12px}
.app-shell .sa-attention-row{grid-template-columns:minmax(105px,auto) minmax(0,1fr) auto auto;min-height:56px}
.app-shell .sales-stage-label,.app-shell .sales-row-tag,.app-shell .sales-forecast-strip small{font-size:11px}
@media(max-width:650px){.app-shell .sa-attention-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 10px}.app-shell .sa-attention-type{grid-column:1/-1}.app-shell .sa-attention-copy{grid-column:1}.app-shell .sa-attention-row time{grid-column:2;grid-row:2}.app-shell .sa-attention-open{grid-column:1/-1}}
.app-shell .customer-card-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;margin-bottom:0;padding:5px 0 10px;border-bottom:1px solid var(--ui-border)}
.app-shell .customer-card-tabs button{flex:none;border:0;border-radius:7px;background:transparent;color:var(--ui-secondary);font-size:13px;font-weight:700;white-space:nowrap}
.app-shell .customer-card-tabs button[aria-selected=true]{background:var(--ui-brand-soft);color:#12594f;box-shadow:inset 0 -2px #14736c}
.app-shell .customer-card-subnav{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}
.app-shell .customer-card-subnav a{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid var(--ui-border);border-radius:8px;background:#fff;color:#345467;font-size:12px;font-weight:650;text-decoration:none}
.app-shell .customer-card-subnav a:hover{border-color:#96c5b9;background:var(--ui-brand-soft)}
.app-shell [data-customer-tab]{scroll-margin-top:calc(var(--ui-topbar-height) + 16px)}
.app-shell .permission-matrix{margin:16px 0 22px}
.app-shell .permission-matrix-toolbar{position:sticky;top:calc(var(--ui-topbar-height) + 6px);z-index:9;display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:13px;border:1px solid var(--ui-border);border-radius:10px;background:#fff;box-shadow:0 5px 15px #182b3a10}
.app-shell .permission-matrix-toolbar>label:first-child{flex:1 1 260px;margin:0}
.app-shell .permission-matrix-toolbar input[type=search]{margin-top:5px}
.app-shell .permission-matrix-toolbar>.check{display:flex;align-items:center;gap:8px;min-height:42px;margin:0;padding:0 8px;white-space:nowrap}
.app-shell .permission-matrix-toolbar>strong{min-height:42px;display:flex;align-items:center;color:#12594f;font-size:13px}
.app-shell .permission-matrix-groups{display:grid;gap:9px;margin-top:12px}
.app-shell .permission-matrix-groups>details{margin:0;border:1px solid var(--ui-border);border-radius:10px;background:#fff;overflow:hidden}
.app-shell .permission-matrix-groups>details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;cursor:pointer;list-style:none}
.app-shell .permission-matrix-groups>details>summary::-webkit-details-marker{display:none}
.app-shell .permission-matrix-groups>details>summary strong{font-size:14px;color:var(--ui-ink)}
.app-shell .permission-matrix-groups>details>summary span{font-size:12px;color:var(--ui-secondary)}
.app-shell .permission-matrix-groups>details[open]>summary{border-bottom:1px solid var(--ui-border);background:#f8fafb}
.app-shell .permission-matrix-groups .management-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:12px}
.app-shell .permission-matrix-groups .check{min-width:0;margin:0;padding:9px 10px;border:1px solid #e8edf1;border-radius:8px;font-size:13px}
.app-shell .permission-matrix-groups .check:has(input:checked){border-color:#b5d9cc;background:#f0f8f3}
.app-shell .permission-matrix-empty{padding:18px;color:var(--ui-secondary)}
.app-shell .lead-intake-guide{padding:0;margin-bottom:16px;overflow:hidden}
.app-shell .lead-intake-guide>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;cursor:pointer;list-style:none;color:var(--ui-ink);font-size:14px;font-weight:750}
.app-shell .lead-intake-guide>summary::-webkit-details-marker{display:none}
.app-shell .lead-intake-guide>summary small{font-size:12px;color:var(--ui-secondary);font-weight:600}
.app-shell .lead-intake-guide[open]>summary{border-bottom:1px solid var(--ui-border)}
.app-shell .lead-intake-guide ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px;margin:0;padding:14px;list-style:none;counter-reset:lead-step}
.app-shell .lead-intake-guide li{counter-increment:lead-step;display:grid;gap:5px;padding:12px;border:1px solid var(--ui-border);border-radius:9px;background:#f9fbfb}
.app-shell .lead-intake-guide li:before{content:counter(lead-step,decimal-leading-zero);color:var(--ui-brand);font-size:12px;font-weight:800}
.app-shell .lead-intake-guide li strong{font-size:13px}
.app-shell .lead-intake-guide li span{font-size:12px;line-height:1.5;color:var(--ui-secondary)}
.app-shell .calendar-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:12px;padding:16px 18px}
.app-shell .calendar-period{display:grid;gap:3px}
.app-shell .calendar-period strong{font-size:16px;color:var(--ui-ink)}
.app-shell .calendar-period span{font-size:12px;color:var(--ui-secondary)}
.app-shell .calendar-period-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.app-shell .calendar-period-links .secondary{min-height:34px;padding:7px 10px;font-size:12px}
.app-shell .calendar-date-filter{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.app-shell .calendar-date-filter label{display:grid;gap:4px;min-width:155px;margin:0}
.app-shell .calendar-date-filter input{min-width:0}
.app-shell .calendar-agenda{display:grid;gap:12px}
.app-shell .calendar-day{padding:0;overflow:hidden}
.app-shell .calendar-day-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px;background:#f6faf9;border-bottom:1px solid var(--ui-border)}
.app-shell .calendar-day-heading h2{margin:0;font-size:15px}
.app-shell .calendar-day-heading span{font-size:12px;color:var(--ui-secondary)}
.app-shell .calendar-day-tasks{display:grid}
.app-shell .calendar-task{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:16px;padding:13px 18px;border-bottom:1px solid #edf1f3}
.app-shell .calendar-task:last-child{border-bottom:0}
.app-shell .calendar-task time{color:#12685f;font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}
.app-shell .calendar-task-main{display:grid;gap:3px;min-width:0}
.app-shell .calendar-task-main a{color:#1b4b5e;font-size:14px;font-weight:750;text-decoration:none;overflow-wrap:anywhere}
.app-shell .calendar-task-main a:hover{text-decoration:underline}
.app-shell .calendar-task-main small{font-size:12px;color:var(--ui-secondary);overflow-wrap:anywhere}
.app-shell .calendar-task.is-complete .calendar-task-main a{color:#617481}
.app-shell .calendar-empty{padding:24px}
.app-shell .record-attachments-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.app-shell .record-attachments-head h2{margin:0 0 3px}
.app-shell .record-attachments-head p{margin:0}
.app-shell .record-attachments-empty{display:grid;gap:4px;padding:20px;border:1px dashed #c6d6dc;border-radius:9px;background:#f8fbfb}
.app-shell .record-attachments-empty strong{font-size:14px}
.app-shell .record-attachments-empty span{font-size:12px;color:var(--ui-secondary)}
.app-shell .record-attachment-name{display:block;max-width:340px;overflow-wrap:anywhere}
.app-shell .record-attachments .record-actions{display:flex;align-items:center;gap:8px}
.app-shell .record-attachments .record-actions .secondary{min-height:32px;padding:6px 10px;font-size:12px}
.app-shell .record-attachment-upload{display:grid;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--ui-border)}
.app-shell .record-attachment-upload h3{margin:0;font-size:15px}
.app-shell .record-attachment-upload .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.app-shell .record-attachment-upload .form-grid label{min-width:0}
.app-shell .record-attachment-upload .form-grid :is(input,select){width:100%}
.app-shell .record-attachment-upload .muted{margin:0}
.app-shell .record-attachment-upload .primary{justify-self:start}
.app-shell .existing-record-search{margin-bottom:18px;padding:18px 20px}
.app-shell .existing-record-search-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.app-shell .existing-record-search-head h2{margin:0 0 4px;font-size:17px}
.app-shell .existing-record-search-head p{margin:0}
.app-shell .existing-record-search>label{display:block;margin:0 0 5px;font-weight:700}
.app-shell .existing-record-search>input{display:block;width:min(100%,620px)}
.app-shell .existing-record-search-status{margin:9px 0 0}
.app-shell .existing-record-search-results{display:grid;gap:7px;margin-top:10px}
.app-shell .existing-record-search-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--ui-border);border-radius:8px;background:#f9fbfb;text-decoration:none}
.app-shell .existing-record-search-result:hover{border-color:#8dbeb2;background:var(--ui-brand-soft)}
.app-shell .existing-record-search-result strong{font-size:13px;color:var(--ui-ink);overflow-wrap:anywhere}
.app-shell .existing-record-search-result span{flex:none;font-size:12px;font-weight:750;color:#12665e}
.app-shell .contact-duplicate-check{display:grid;gap:10px;grid-column:1/-1;padding:16px 18px;border:1px solid #cbded7;border-radius:12px;background:#f7fbf9}
.app-shell .contact-duplicate-check strong{font-size:13px;color:#244e45}.app-shell .contact-duplicate-check p{margin:4px 0 0;color:#5c716c;font-size:12px;line-height:1.5}
.app-shell .contact-duplicate-status{font-weight:650}.app-shell .contact-duplicate-results{display:grid;gap:7px}
.app-shell .contact-duplicate-results a{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding:10px 12px;border:1px solid #cbded7;border-radius:8px;background:#fff;text-decoration:none}
.app-shell .contact-duplicate-results a:hover{border-color:#79b1a3}.app-shell .contact-duplicate-results a span{color:#5c716c;font-size:11px}
.app-shell .contact-duplicate-confirm{display:grid;gap:10px;padding-top:12px;border-top:1px solid #d6e5de}.app-shell .contact-duplicate-confirm[hidden]{display:none}
.app-shell .contact-duplicate-confirm label{display:grid;gap:5px;font-size:12px;font-weight:650}.app-shell .contact-duplicate-confirm label.check{display:flex;align-items:center;gap:8px}.app-shell .contact-duplicate-confirm label.check input{width:auto;margin:0}.app-shell .contact-duplicate-confirm textarea{width:100%;min-height:65px}
.app-shell .contact-duplicate-badge{display:inline-flex;margin-top:5px;padding:4px 7px;border-radius:6px;background:#fff3df;color:#80521e;font-size:11px;font-weight:700;text-decoration:none}.app-shell .contact-duplicate-badge:hover{text-decoration:underline}
.app-shell .record-form{width:min(100%,1000px);margin-inline:auto;padding:24px;grid-template-columns:repeat(2,minmax(0,1fr))}
.app-shell .record-form>label,.app-shell .record-form>.record-picker{min-width:0;margin:0}
.app-shell .record-form .form-section-head{padding:15px 0 5px;margin-top:8px;border-color:var(--ui-border)}
.app-shell .record-form .form-section-head:first-of-type{padding-top:0}
.app-shell .record-form .form-section-head p{font-size:12px;color:var(--ui-secondary)}
.app-shell .record-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:10px;padding-top:17px;border-top:1px solid var(--ui-border)}
.app-shell .record-form-actions .primary{min-width:175px}
.app-shell .permission-catalog-search{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:16px 0;padding:14px 16px;border:1px solid var(--ui-border);border-radius:10px;background:#fff}
.app-shell .permission-catalog-search label{flex:1 1 280px;margin:0}
.app-shell .permission-catalog-search input{display:block;width:100%;margin-top:5px}
.app-shell .permission-catalog-search strong{padding-bottom:10px;font-size:13px;color:#12665e}
.app-shell .permission-catalog [data-permission-catalog-item]{display:grid;gap:3px;min-width:0;padding:7px 0;border-bottom:1px solid #edf1f3}
.app-shell .permission-catalog [data-permission-catalog-item]:last-child{border-bottom:0}
.app-shell .permission-catalog [data-permission-catalog-item] strong{font-size:13px;color:var(--ui-ink)}
.app-shell .permission-catalog [data-permission-catalog-item] code{font-size:11px;color:var(--ui-secondary);overflow-wrap:anywhere}
.guest-shell .auth-panel{border-color:var(--ui-border);box-shadow:0 12px 30px #182b3a10}
.guest-shell .auth-panel>p{margin:8px 0 20px;font-size:13px}
.guest-shell .auth-panel form>label:not(.check){display:block;margin:15px 0 5px;color:#304755;font-size:13px}
.guest-shell .auth-panel form>input{margin-top:0}
.guest-shell .password-control{position:relative}
.guest-shell .password-control input{padding-right:78px;margin-top:0}
.guest-shell .password-control button{position:absolute;top:50%;right:5px;transform:translateY(-50%);min-height:33px;padding:5px 9px;border:0;border-radius:6px;background:#edf4f3;color:#185e57;font-size:12px;font-weight:750;cursor:pointer}
.guest-shell .auth-panel .check{margin:17px 0 8px}
.guest-shell .auth-panel .primary.full{min-height:44px;margin:14px 0 18px}
.app-shell .record-history{scroll-margin-top:calc(var(--ui-topbar-height) + 16px)}
.app-shell .record-history-head h2{margin:0 0 3px}
.app-shell .record-history-head p{margin:0}
.app-shell .record-history-nav{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 4px;padding-bottom:14px;border-bottom:1px solid var(--ui-border)}
.app-shell .record-history-nav a{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid var(--ui-border);border-radius:8px;background:#f9fbfb;color:#245e60;font-size:12px;font-weight:750;text-decoration:none}
.app-shell .record-history-nav a:hover{border-color:#8dbeb2;background:var(--ui-brand-soft)}
.app-shell .record-history-section{padding:18px 0 8px;scroll-margin-top:calc(var(--ui-topbar-height) + 16px)}
.app-shell .record-history-section+.record-history-section{border-top:1px solid var(--ui-border)}
.app-shell .record-history-section-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-bottom:13px}
.app-shell .record-history-section-head h3{margin:0;font-size:16px;color:var(--ui-ink)}
.app-shell .record-history-section-head span{font-size:12px}
.app-shell .record-history-empty{margin:10px 0;padding:13px;border:1px dashed var(--ui-border);border-radius:8px;background:#f9fbfb;color:var(--ui-secondary);font-size:13px}
.app-shell .record-history .note{padding:13px 0}
.app-shell .record-history .note p{font-size:13px;line-height:1.55}
.app-shell .record-history .note-meta{font-size:12px;color:var(--ui-secondary)}
body.call-center-workspace .agent-result{scroll-margin-top:calc(var(--ui-topbar-height) + 16px)}
body.call-center-workspace .agent-result-shortcut{white-space:nowrap}
.app-shell .finance-collection-heading h2{margin:0 0 4px}
.app-shell .finance-collection-heading p{margin:0}
.app-shell .finance-collection-actions{display:flex;justify-content:flex-end;padding-top:12px;border-top:1px solid var(--ui-border)}
.app-shell .finance-amount-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:750}
.app-shell .finance-correction{min-width:190px}
.app-shell .finance-correction>summary{cursor:pointer;color:#915b20;font-size:12px;font-weight:750}
.app-shell .finance-correction .finance-inline-form{display:grid;gap:9px;margin-top:9px;padding:10px;border:1px solid #e6d9cc;border-radius:8px;background:#fffaf5}
.app-shell .finance-correction .finance-inline-form label{margin:0;font-size:12px}
.app-shell .finance-correction .finance-inline-form input{min-width:0;width:100%}
.app-shell .finance-plan-cancel{padding:0;overflow:hidden}
.app-shell .finance-plan-cancel>summary{padding:16px 20px;cursor:pointer;color:#8c4b38;font-size:13px;font-weight:750}
.app-shell .finance-plan-cancel[open]>summary{border-bottom:1px solid var(--ui-border)}
.app-shell .finance-plan-cancel .finance-cancel-form{padding:18px 20px}
.app-shell .report-breakdowns{padding:0;overflow:hidden;scroll-margin-top:calc(var(--ui-topbar-height) + 16px)}
.app-shell .report-breakdowns>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;cursor:pointer;list-style:none}
.app-shell .report-breakdowns>summary::-webkit-details-marker{display:none}
.app-shell .report-breakdowns>summary span:first-child{display:grid;gap:4px}
.app-shell .report-breakdowns>summary strong{font-size:15px;color:var(--ui-ink)}
.app-shell .report-breakdowns>summary small{font-size:12px;color:var(--ui-secondary)}
.app-shell .report-breakdowns[open]>summary{border-bottom:1px solid var(--ui-border)}
.app-shell .report-breakdowns>.dashboard-grid{padding:16px}
.app-shell .report-breakdowns .report-section{margin:0}
.app-shell .owner-current-assignment,.app-shell .owner-search-panel,.app-shell .owner-change-form{max-width:900px;margin-inline:auto}
.app-shell .owner-current-assignment,.app-shell .owner-search-panel{margin-bottom:14px}
.app-shell .owner-current-assignment .form-section-head,.app-shell .owner-search-panel .form-section-head{margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid var(--ui-border)}
.app-shell .owner-current-assignment .form-section-head h2,.app-shell .owner-search-panel .form-section-head h2{font-size:17px}
.app-shell .owner-current-assignment .form-section-head p,.app-shell .owner-search-panel .form-section-head p{font-size:12px;color:var(--ui-secondary)}
.app-shell .owner-assignment-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.app-shell .owner-assignment-summary>div{display:grid;gap:5px;padding:13px 15px;border:1px solid var(--ui-border);border-radius:9px;background:#f8fafb}
.app-shell .owner-assignment-summary span,.app-shell .owner-change-preview>span:first-child{font-size:11px;color:var(--ui-secondary);font-weight:700}
.app-shell .owner-assignment-summary strong{font-size:15px;color:var(--ui-ink);overflow-wrap:anywhere}
.app-shell .owner-search-form{display:flex;align-items:end;flex-wrap:wrap;gap:9px}
.app-shell .owner-search-form label{flex:1 1 260px;min-width:0;margin:0;font-size:12px;font-weight:700}
.app-shell .owner-search-form input{display:block;width:100%;margin-top:5px}
.app-shell .owner-change-form .owner-user-fieldset{min-width:0;margin:0;padding:0;border:0}
.app-shell .owner-user-fieldset legend{font-size:17px;font-weight:750;color:var(--ui-ink)}
.app-shell .owner-user-fieldset>.muted{margin:4px 0 12px;font-size:12px}
.app-shell .owner-user-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.app-shell .owner-user-option{display:flex;align-items:center;gap:11px;min-width:0;margin:0;padding:12px;border:1px solid var(--ui-border);border-radius:9px;background:#fff;cursor:pointer}
.app-shell .owner-user-option:has(input:checked){border-color:#70ae9f;background:#eff8f5;box-shadow:inset 0 0 0 1px #70ae9f}
.app-shell .owner-user-option input{flex:none;margin:0;accent-color:#176e65}
.app-shell .owner-user-option span{display:grid;gap:3px;min-width:0}
.app-shell .owner-user-option strong{font-size:13px;color:var(--ui-ink);overflow-wrap:anywhere}
.app-shell .owner-user-option small{font-size:11px;color:var(--ui-secondary);overflow-wrap:anywhere}
.app-shell .owner-user-option em{margin-left:auto;font-size:10px;font-style:normal;font-weight:750;color:#176e65;white-space:nowrap}
.app-shell .owner-team-control{display:grid;gap:5px;margin-top:20px;padding-top:18px;border-top:1px solid var(--ui-border)}
.app-shell .owner-team-control label{display:grid;gap:5px;max-width:430px;margin:0;font-size:12px;font-weight:700}
.app-shell .owner-team-control small{color:var(--ui-secondary);font-size:12px}
.app-shell .owner-change-preview{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:20px;padding:13px 15px;border:1px solid #c8dfd9;border-radius:9px;background:#f2faf7}
.app-shell .owner-change-preview>span:first-child{flex:1 1 100%}
.app-shell .owner-change-preview strong{font-size:13px;color:#12594f}
.app-shell .owner-change-preview>span:not(:first-child){color:var(--ui-secondary)}
.app-shell .owner-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;padding-top:17px;border-top:1px solid var(--ui-border)}
.app-shell .attachment-filter{margin-bottom:18px}
.app-shell .attachment-filter .form-section-head{margin:0 0 15px;padding:0 0 12px;border-bottom:1px solid var(--ui-border)}
.app-shell .attachment-filter .form-section-head h2{font-size:17px}
.app-shell .attachment-filter .form-section-head p{font-size:12px;color:var(--ui-secondary)}
.app-shell .attachment-filter-fields{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
.app-shell .attachment-filter-fields label{flex:1 1 260px;min-width:0;margin:0;font-size:12px;font-weight:700}
.app-shell .attachment-filter-fields label:nth-child(2){flex:0 1 240px}
.app-shell .attachment-filter-fields :is(input,select){display:block;width:100%;margin-top:5px}
.app-shell .attachment-results-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.app-shell .attachment-results-head h2{margin:0;font-size:18px}
.app-shell .attachment-results-head p{margin:3px 0 0;color:var(--ui-secondary);font-size:12px}
.app-shell .attachment-result{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:13px;margin-bottom:9px;padding:16px 18px}
.app-shell .attachment-result-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:var(--ui-brand-soft);color:#176e65}
.app-shell .attachment-result-main{display:grid;gap:7px;min-width:0}
.app-shell .attachment-result-main>strong{font-size:14px;color:var(--ui-ink);overflow-wrap:anywhere}
.app-shell .attachment-result-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 11px;color:var(--ui-secondary);font-size:11px}
.app-shell .attachment-result-source{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;font-size:12px}
.app-shell .attachment-result-source>span,.app-shell .attachment-result-main>small{color:var(--ui-secondary);font-size:11px}
.app-shell .attachment-result-source>a{font-weight:750;overflow-wrap:anywhere}
.app-shell .attachment-result-download{align-self:center}
.app-shell .attachment-empty{display:grid;justify-items:start;gap:7px}
.app-shell .attachment-empty p{margin:0;color:var(--ui-secondary);font-size:13px}
.app-shell .finance-schedule-list-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:22px 0 10px}
.app-shell .finance-schedule-list-head h2{margin:0;font-size:17px}
.app-shell .finance-schedule-list-head span{font-size:12px;color:var(--ui-secondary)}
.app-shell .finance-schedule-row-action .secondary{min-height:32px;padding:6px 10px;font-size:12px;white-space:nowrap}
.app-shell .finance-month-details{margin-top:13px;border:1px solid var(--ui-border);border-radius:9px;background:#fff}
.app-shell .finance-month-details>summary{padding:11px 13px;cursor:pointer;color:#155e58;font-size:12px;font-weight:750}
.app-shell .finance-month-details[open]>summary{border-bottom:1px solid var(--ui-border)}
.app-shell .finance-month-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}
.app-shell .finance-month-list>div{display:grid;gap:6px;min-width:0;padding:10px;border:1px solid var(--ui-border);border-radius:8px;background:#f9fbfb}
.app-shell .finance-month-list>div>strong{font-size:13px;color:var(--ui-ink)}
.app-shell .finance-month-list>div>span{display:flex;justify-content:space-between;gap:8px;color:var(--ui-secondary);font-size:11px}
.app-shell .finance-month-list>div b{color:var(--ui-ink);text-align:right;font-variant-numeric:tabular-nums}
.app-shell .finance-action-disclosure{margin-bottom:10px;padding:0;overflow:hidden}
.app-shell .finance-action-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 19px;cursor:pointer;list-style:none}
.app-shell .finance-action-disclosure>summary::-webkit-details-marker{display:none}
.app-shell .finance-action-disclosure>summary span:first-child{display:grid;gap:4px}
.app-shell .finance-action-disclosure>summary strong{font-size:15px;color:var(--ui-ink)}
.app-shell .finance-action-disclosure>summary small{font-size:12px;color:var(--ui-secondary)}
.app-shell .finance-action-disclosure>summary :is(.finance-action-open,.finance-action-close){flex:none;color:#176e65;font-size:12px;font-weight:750}
.app-shell .finance-action-disclosure>summary .finance-action-close{display:none}
.app-shell .finance-action-disclosure[open]>summary .finance-action-open{display:none}
.app-shell .finance-action-disclosure[open]>summary .finance-action-close{display:inline}
.app-shell .finance-action-disclosure[open]>summary{border-bottom:1px solid var(--ui-border);background:#f8fbfa}
.app-shell .finance-action-disclosure>form{padding:18px 19px}
.app-shell .finance-revenue-table td:last-child details{min-width:90px}
.app-shell .finance-revenue-table td:last-child summary{cursor:pointer;color:#176e65;font-size:12px;font-weight:750}
.app-shell .quote-versions-panel>.muted{margin:3px 0 15px;color:var(--ui-secondary);font-size:12px}
.app-shell .quote-version-list,.app-shell .quote-response-list{display:grid;gap:9px}
.app-shell .quote-version-card{display:flex;align-items:center;flex-wrap:wrap;gap:11px 18px;padding:13px 15px;border:1px solid var(--ui-border);border-radius:9px;background:#f9fbfb}
.app-shell .quote-version-card>div:first-child{display:grid;gap:4px;flex:1 1 180px}
.app-shell .quote-version-card>div:first-child strong{font-size:14px;color:var(--ui-ink)}
.app-shell .quote-version-card>div:first-child span,.app-shell .quote-version-amount span{font-size:11px;color:var(--ui-secondary)}
.app-shell .quote-version-amount{display:grid;gap:4px;text-align:right}
.app-shell .quote-version-amount strong{font-size:13px;color:var(--ui-ink);font-variant-numeric:tabular-nums}
.app-shell .quote-version-actions{display:flex;gap:6px;flex:1 1 100%;padding-top:9px;border-top:1px solid var(--ui-border)}
.app-shell .quote-version-actions .secondary{min-height:34px;padding:7px 10px;font-size:12px}
.app-shell .quote-response-list article{display:grid;gap:5px;padding:13px 15px;border:1px solid var(--ui-border);border-radius:9px;background:#f9fbfb}
.app-shell .quote-response-list strong{font-size:14px;color:var(--ui-ink)}
.app-shell .quote-response-list span{font-size:11px;color:var(--ui-secondary)}
.app-shell .quote-response-list p{margin:5px 0 0;font-size:13px;line-height:1.5}
.app-shell .customer-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0 16px}
.app-shell .customer-summary .card{min-width:0;gap:2px;padding:11px 13px}
.app-shell .customer-summary span{font-size:12px}
.app-shell .customer-summary strong{font-size:20px}
.app-shell .customer-filter-layout{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"query actions" "advanced advanced";align-items:end}
.app-shell .customer-filter-layout>.filter-main{grid-area:query;font-size:13px}
.app-shell .customer-filter-layout>.list-filter-actions{grid-area:actions;margin:0}
.app-shell .customer-advanced-filters{grid-area:advanced;min-width:0;border:1px solid var(--ui-border);border-radius:9px;background:#fff}
.app-shell .customer-advanced-filters>summary{display:flex;justify-content:space-between;gap:8px;padding:11px 13px;cursor:pointer;list-style:none;color:var(--ui-ink);font-size:13px;font-weight:750}
.app-shell .customer-advanced-filters>summary::-webkit-details-marker{display:none}
.app-shell .customer-advanced-filters>summary:after{content:"⌄";order:2;line-height:1}
.app-shell .customer-advanced-filters[open]>summary{border-bottom:1px solid var(--ui-border)}
.app-shell .customer-advanced-filters[open]>summary:after{transform:rotate(180deg)}
.app-shell .customer-advanced-filters>summary span{margin-left:auto;color:var(--ui-secondary);font-size:12px;font-weight:500}
.app-shell .customer-advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:13px}
.app-shell .customer-advanced-grid label{font-size:13px}
.app-shell .service-agreement-help{padding:0;overflow:hidden}
.app-shell .service-agreement-help>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 17px;cursor:pointer;list-style:none;color:var(--ui-ink);font-size:14px;font-weight:750}
.app-shell .service-agreement-help>summary::-webkit-details-marker{display:none}
.app-shell .service-agreement-help>summary:after{content:"⌄";font-size:18px;line-height:1}
.app-shell .service-agreement-help[open]>summary{border-bottom:1px solid var(--ui-border)}
.app-shell .service-agreement-help[open]>summary:after{transform:rotate(180deg)}
.app-shell .service-agreement-help>.detail-grid{padding:16px}
.app-shell .site-create-panel>summary{cursor:pointer;list-style:none}
.app-shell .site-create-panel>summary::-webkit-details-marker{display:none}
.app-shell .site-create-panel:not([open])>summary{margin-bottom:0}
.app-shell .site-create-copy{display:grid;gap:3px;min-width:0}
.app-shell .site-create-copy strong{color:var(--ui-ink);font-size:17px}
.app-shell .site-create-copy small{color:var(--ui-secondary);font-size:12px;line-height:1.4}
.app-shell .site-create-expand{margin-left:auto;color:var(--ui-secondary);font-size:22px;line-height:1}
.app-shell .site-create-panel[open] .site-create-expand{transform:rotate(180deg)}
.app-shell .site-page-head p,.app-shell .site-flow-note p,.app-shell .site-key-notice p,.app-shell .site-list-heading p{color:var(--ui-secondary);font-size:12px}
.app-shell .site-kpis article span,.app-shell .site-kpis article small{color:var(--ui-secondary);font-size:11px;line-height:1.35}
.app-shell .site-flow-note>a,.app-shell .site-count-pill,.app-shell .site-card-identity>a,.app-shell .site-status,.app-shell .site-action{font-size:12px}
.app-shell .site-fact>span{color:var(--ui-secondary);font-size:11px;line-height:1.35}
.app-shell .site-fact>strong{color:var(--ui-ink);font-size:13px}
.app-shell .site-fact>strong small,.app-shell .site-fact>small{font-size:11px}
.app-shell .site-mail-route-heading strong,.app-shell .site-mail-account>div:first-child strong{font-size:13px}
.app-shell .site-mail-route-heading>span,.app-shell .site-mail-account small,.app-shell .site-mail-status,.app-shell .site-mail-empty{font-size:11px}
.app-shell .site-edit-details>summary{font-size:13px}
.app-shell .site-edit-details>summary>span,.app-shell .site-active-toggle small,.app-shell .site-field small,.app-shell .site-create-footer p,.app-shell .site-inline-warning,.app-shell .site-inactive-note,.app-shell .site-empty p,.app-shell .site-empty>a{font-size:12px}
.app-shell .import-workflow-guide>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;color:var(--ui-ink);font-size:13px;font-weight:750}
.app-shell .import-workflow-guide>summary::-webkit-details-marker{display:none}
.app-shell .import-workflow-guide>summary span{flex:none;color:var(--ui-brand);font-size:12px}
.app-shell .import-workflow-guide[open] .import-workflow-steps{margin-top:14px}
.app-shell .import-workflow-steps>div>span,.app-shell .import-workflow-steps small{font-size:11px}
.app-shell .import-workflow-steps strong{font-size:13px}
.app-shell .audit-intro{display:block;padding:0}
.app-shell .audit-intro>summary{display:flex;align-items:center;gap:8px;padding:11px 15px;cursor:pointer;list-style:none;color:var(--ui-ink);font-size:13px;font-weight:750}
.app-shell .audit-intro>summary::-webkit-details-marker{display:none}
.app-shell .audit-intro>summary:after{content:"⌄";margin-left:auto;font-size:17px;line-height:1}
.app-shell .audit-intro[open]>summary:after{transform:rotate(180deg)}
.app-shell .audit-intro>p{margin:0;padding:0 15px 13px;color:var(--ui-secondary);font-size:12px;line-height:1.5}
.app-shell .audit-filter-layout{grid-template-columns:repeat(2,minmax(0,1fr)) auto;grid-template-areas:"actor event actions" "advanced advanced advanced"}
.app-shell .audit-filter-layout>label:first-child{grid-area:actor}
.app-shell .audit-filter-layout>label:nth-child(2){grid-area:event}
.app-shell .audit-filter-layout>.list-filter-actions{grid-area:actions;margin:0}
.app-shell .audit-advanced-filters{grid-area:advanced;min-width:0;border:1px solid var(--ui-border);border-radius:9px;background:#fff}
.app-shell .audit-advanced-filters>summary{display:flex;justify-content:space-between;gap:8px;padding:10px 13px;cursor:pointer;list-style:none;color:var(--ui-ink);font-size:13px;font-weight:750}
.app-shell .audit-advanced-filters>summary::-webkit-details-marker{display:none}
.app-shell .audit-advanced-filters>summary:after{content:"⌄";order:2;line-height:1}
.app-shell .audit-advanced-filters[open]>summary:after{transform:rotate(180deg)}
.app-shell .audit-advanced-filters>summary span{margin-left:auto;color:var(--ui-secondary);font-size:12px;font-weight:500}
.app-shell .audit-advanced-filters>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:13px;border-top:1px solid var(--ui-border)}
.app-shell .automation-safety-guide{padding:0}
.app-shell .automation-safety-guide>summary,.app-shell .automation-create-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 17px;cursor:pointer;list-style:none;color:var(--ui-ink);font-size:14px;font-weight:750}
.app-shell .automation-safety-guide>summary::-webkit-details-marker,.app-shell .automation-create-panel>summary::-webkit-details-marker{display:none}
.app-shell .automation-safety-guide>summary:after,.app-shell .automation-create-panel>summary:after{content:"⌄";margin-left:auto;font-size:19px;line-height:1}
.app-shell .automation-safety-guide[open]>summary:after,.app-shell .automation-create-panel[open]>summary:after{transform:rotate(180deg)}
.app-shell .automation-safety-guide>p{margin:0;padding:0 17px 14px;color:var(--ui-secondary);font-size:13px;line-height:1.55}
.app-shell .automation-create-panel{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:#fff;scroll-margin-top:20px}
.app-shell .automation-create-panel>summary span{margin-left:auto;color:var(--ui-secondary);font-size:12px;font-weight:500}
.app-shell .automation-create-panel[open]>summary{border-bottom:1px solid var(--ui-border)}
.app-shell .automation-create-panel>.card{margin:13px}
.app-shell .template-intro-guide{display:block;padding:0}
.app-shell .template-intro-guide>summary{display:flex;align-items:center;gap:9px;padding:12px 16px;cursor:pointer;list-style:none;color:var(--ui-ink);font-size:13px;font-weight:750}
.app-shell .template-intro-guide>summary::-webkit-details-marker{display:none}
.app-shell .template-intro-guide>summary:after{content:"⌄";margin-left:auto;font-size:17px;line-height:1}
.app-shell .template-intro-guide[open]>summary:after{transform:rotate(180deg)}
.app-shell .template-intro-guide>div{padding:0 16px 14px}
.app-shell .template-intro-guide p{margin:0 0 10px;color:var(--ui-secondary);font-size:12px;line-height:1.5}
@media(max-width:900px){
    .app-shell .sidebar{top:var(--ui-topbar-height);height:calc(100dvh - var(--ui-topbar-height))}
    .app-shell .sidebar-scrim{inset:var(--ui-topbar-height) 0 0}
    .app-shell .content-wrap{padding:20px 16px 36px}
}
@media(max-width:620px){
    .app-shell .topbar{height:auto;min-height:62px}
    .app-shell .content-wrap>.page-head:not(.record-detail-head):not(.finance-dashboard-head):not(.whatsapp-intake-head):not(.template-page-head),
    body.call-center-workspace .content-wrap>.page-header:not(.campaign-detail-header){padding:15px}
    .app-shell .form-grid{grid-template-columns:minmax(0,1fr);gap:14px}
    .app-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.app-shell select,.app-shell textarea{font-size:16px}
    .app-shell :is(.primary,.secondary,.danger,.button){min-height:44px}
    .app-shell .card,.app-shell .panel,.app-shell .record-panel{padding:16px}
    .app-shell .service-agreement-help{padding:0}
    .app-shell .import-workflow-guide{padding:12px 16px}
    .app-shell .automation-safety-guide{padding:0}
    .app-shell .record-list tbody td:before{color:var(--ui-secondary);font-size:11px;letter-spacing:.2px}
    .app-shell .opportunity-edit-form{grid-template-columns:minmax(0,1fr);padding:16px;margin-bottom:85px}
    .app-shell .opportunity-edit-form .opportunity-form-actions{position:static;flex-wrap:wrap;background:#fff;padding:12px 0}
    .app-shell .opportunity-edit-form .opportunity-form-actions>*{flex:1;text-align:center}
    .opportunity-mobile-save,.quote-mobile-save{position:fixed;right:0;bottom:0;left:0;z-index:90;display:flex;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #cddfd8;background:#fff;box-shadow:0 -8px 24px #153b471c}
    .opportunity-mobile-save .primary,.quote-mobile-save .primary{width:100%;min-height:44px}
    body:has(.opportunity-edit-form :is(input,select,textarea):focus) .opportunity-mobile-save,
    body:has(.quote-draft-form :is(input,select,textarea):focus) .quote-mobile-save{display:none}
    .app-shell .quote-draft-form{grid-template-columns:minmax(0,1fr);padding:16px;margin-bottom:85px}
    .app-shell .quote-draft-form .quote-item{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px}
    .app-shell .quote-draft-form .quote-item>label:nth-of-type(1),.app-shell .quote-draft-form .quote-item>label:nth-of-type(2),.app-shell .quote-draft-form .quote-item>label:nth-of-type(3){grid-column:1/-1}
    .app-shell .quote-form-actions{position:static;padding:12px 0;background:#fff}
    .app-shell .quote-form-actions>*{flex:1;text-align:center}
    .app-shell nav[role="navigation"][aria-label="Sayfalama"]>div:last-child{display:flex;flex-direction:column;align-items:stretch}
    .app-shell nav[role="navigation"][aria-label="Sayfalama"]>div:first-child{display:none}
    .app-shell nav[role="navigation"][aria-label="Sayfalama"]>div:last-child>div:first-child{text-align:center}
    .app-shell nav[role="navigation"][aria-label="Sayfalama"]>div:last-child>div:last-child>span{justify-content:center}
    .app-shell .welcome-panel,.app-shell .sales-dashboard-hero,.app-shell .cc-overview-hero,.app-shell .sa-hero{padding:18px}
    .app-shell .customer-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
    .app-shell .customer-summary .card{padding:10px}
    .app-shell .customer-filter-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"query" "advanced" "actions"}
    .app-shell .customer-filter-layout>.list-filter-actions{grid-column:auto}
    .app-shell .customer-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .app-shell .audit-filter-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"actor" "event" "advanced" "actions"}
    .app-shell .audit-filter-layout>.list-filter-actions{grid-column:auto}
    .app-shell .audit-advanced-filters>div{grid-template-columns:minmax(0,1fr)}
    .app-shell .welcome-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:7px;margin-top:12px}
    .app-shell .welcome-actions .primary{grid-column:1/-1;justify-content:center;min-height:42px}
    .app-shell .welcome-actions .welcome-link{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:36px;padding:7px 9px;border:1px solid #ffffff25;border-radius:7px;font-size:12px;line-height:1.3}
    .app-shell .cc-overview-hero{grid-template-columns:minmax(0,1fr)}
    .app-shell .permission-matrix-groups .management-checks{grid-template-columns:minmax(0,1fr)}
    .app-shell .permission-matrix-toolbar{align-items:stretch}
    .app-shell .permission-matrix-toolbar>.check,.app-shell .permission-matrix-toolbar>strong{min-height:0}
    .app-shell .calendar-period-links{width:100%}
    .app-shell .calendar-period-links .secondary{flex:1 1 auto;text-align:center}
    .app-shell .calendar-date-filter>*{flex:1 1 100%}
    .app-shell .calendar-task{grid-template-columns:45px minmax(0,1fr);gap:10px;padding:12px}
    .app-shell .calendar-task .status-pill{grid-column:2;justify-self:start}
    .app-shell .record-attachment-upload .form-grid{grid-template-columns:minmax(0,1fr)}
    .app-shell .record-attachments .record-actions{flex-wrap:wrap}
    .app-shell .existing-record-search{padding:16px}
    .app-shell .existing-record-search-head{flex-wrap:wrap}
    .app-shell .existing-record-search-result{align-items:flex-start;flex-direction:column}
    .app-shell .record-form{grid-template-columns:minmax(0,1fr);padding:16px}
    .app-shell .record-form-actions{position:static;flex-wrap:wrap;padding:12px 0;background:#fff}
    .app-shell .record-form-actions>*{flex:1;text-align:center}
    body.call-center-workspace .agent-header-actions .agent-result-shortcut{flex:1 1 100%;text-align:center;justify-content:center}
    body.call-center-workspace .agent-queue-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    body.call-center-workspace .agent-queue-overview .stat-card{min-height:76px;padding:10px 12px;text-align:left;align-items:flex-start}
    body.call-center-workspace .agent-queue-overview .stat-card span{font-size:11px;line-height:1.3}
    body.call-center-workspace .agent-queue-overview .stat-card strong{font-size:21px}
    body.call-center-workspace .agent-queue-overview .stat-card:last-child:nth-child(odd){grid-column:1/-1}
    .app-shell .owner-assignment-summary,.app-shell .owner-user-list{grid-template-columns:minmax(0,1fr)}
    .app-shell .owner-user-option em{white-space:normal;text-align:right}
    .app-shell .owner-form-actions>*{flex:1;text-align:center}
    .app-shell .attachment-filter-fields label:nth-child(2){flex:1 1 100%}
    .app-shell .attachment-result{grid-template-columns:38px minmax(0,1fr);padding:14px}
    .app-shell .attachment-result-icon{width:38px;height:38px}
    .app-shell .attachment-result-download{grid-column:2;justify-self:start}
    .app-shell .report-jump{flex-wrap:wrap;overflow:visible;padding-bottom:0}
    .app-shell :is(.finance-schedule-table-wrap,.finance-status-table-wrap,.finance-overdue-table-wrap){overflow:visible}
    .app-shell :is(.finance-schedule-table,.finance-status-table,.finance-overdue-table),.app-shell :is(.finance-schedule-table,.finance-status-table,.finance-overdue-table) tbody{display:block;min-width:0;width:100%}
    .app-shell :is(.finance-schedule-table,.finance-status-table,.finance-overdue-table) thead{display:none}
    .app-shell :is(.finance-schedule-table,.finance-status-table,.finance-overdue-table) tr{display:grid;gap:0;margin-bottom:10px;padding:12px 14px;border:1px solid var(--ui-border);border-radius:10px;background:#fff}
    .app-shell :is(.finance-schedule-table,.finance-status-table,.finance-overdue-table) td{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0;padding:8px 0;border:0;border-bottom:1px solid #edf1f3;text-align:right;white-space:normal;overflow-wrap:anywhere;font-size:12px}
    .app-shell :is(.finance-schedule-table,.finance-status-table,.finance-overdue-table) td:before{content:attr(data-label);flex:none;align-self:baseline;color:var(--ui-secondary);font-size:11px;font-weight:700;text-align:left}
    .app-shell :is(.finance-schedule-table,.finance-status-table,.finance-overdue-table) td:first-child{display:block;padding-top:0;color:var(--ui-ink);font-size:14px;font-weight:750;text-align:left}
    .app-shell :is(.finance-schedule-table,.finance-status-table,.finance-overdue-table) td:first-child:before{display:block;margin-bottom:3px}
    .app-shell :is(.finance-schedule-table,.finance-status-table,.finance-overdue-table) td:last-child{padding-bottom:0;border:0}
    .app-shell .finance-schedule-table td:last-child{justify-content:flex-end}
    .app-shell .finance-schedule-table td:last-child:before{content:none}
    .app-shell .finance-month-list{grid-template-columns:minmax(0,1fr)}
    .app-shell .finance-revenue-table-wrap{overflow:visible}
    .app-shell .finance-revenue-table,.app-shell .finance-revenue-table tbody{display:block;min-width:0;width:100%}
    .app-shell .finance-revenue-table thead{display:none}
    .app-shell .finance-revenue-table tr{display:grid;gap:0;margin-bottom:10px;padding:12px 14px;border:1px solid var(--ui-border);border-radius:10px;background:#fff}
    .app-shell .finance-revenue-table td{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0;padding:8px 0;border:0;border-bottom:1px solid #edf1f3;text-align:right;white-space:normal;overflow-wrap:anywhere;font-size:12px}
    .app-shell .finance-revenue-table td:before{content:attr(data-label);flex:none;color:var(--ui-secondary);font-size:11px;font-weight:700;text-align:left}
    .app-shell .finance-revenue-table td:first-child{display:block;padding-top:0;color:var(--ui-ink);font-size:14px;font-weight:750;text-align:left}
    .app-shell .finance-revenue-table td:first-child:before{display:block;margin-bottom:3px}
    .app-shell .finance-revenue-table td:last-child{display:block;padding-bottom:0;border:0;text-align:left}
    .app-shell .finance-revenue-table td:last-child:before{content:none}
    .app-shell .quote-detail .record-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .app-shell .quote-detail .record-hero-actions>*{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:8px;text-align:center;line-height:1.3}
    .app-shell .quote-line-table-wrap{overflow:visible}
    .app-shell .quote-line-table,.app-shell .quote-line-table tbody{display:block;min-width:0;width:100%}
    .app-shell .quote-line-table thead{display:none}
    .app-shell .quote-line-table tr{display:grid;gap:0;margin-bottom:10px;padding:12px 14px;border:1px solid var(--ui-border);border-radius:10px;background:#fff}
    .app-shell .quote-line-table td{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0;padding:7px 0;border:0;border-bottom:1px solid #edf1f3;text-align:right;white-space:normal;overflow-wrap:anywhere;font-size:12px}
    .app-shell .quote-line-table td:before{content:attr(data-label);flex:none;color:var(--ui-secondary);font-size:11px;font-weight:700;text-align:left}
    .app-shell .quote-line-table td:first-child{display:block;padding-top:0;text-align:left;font-size:14px}
    .app-shell .quote-line-table td:first-child:before{display:block;margin-bottom:3px}
    .app-shell .quote-line-table td:last-child{padding-bottom:0;border:0;color:#12594f}
    .app-shell .quote-version-amount{text-align:left}
    .app-shell .quote-version-actions>*{flex:1;text-align:center}
    .app-shell :is(.campaign-list-table-wrap,.import-history-panel .table-wrap){overflow:visible}
    .app-shell .call-center-card-table.data-table,.app-shell .call-center-card-table tbody{display:block;width:100%;min-width:0}
    .app-shell .call-center-card-table thead{display:none}
    .app-shell .call-center-card-table tr:not(.card-table-empty){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;margin-bottom:10px;padding:10px 14px;border:1px solid var(--ui-border);border-radius:10px;background:#fff}
    .app-shell .call-center-card-table tr:not(.card-table-empty) td{display:block;min-width:0;padding:8px 0;border:0;border-bottom:1px solid #edf1f3;white-space:normal;overflow-wrap:anywhere;font-size:13px}
    .app-shell .call-center-card-table tr:not(.card-table-empty) td:before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--ui-secondary);font-size:11px;font-weight:700}
    .app-shell .call-center-card-table tr:not(.card-table-empty) td:first-child,.app-shell .call-center-card-table tr:not(.card-table-empty) td:last-child{grid-column:1/-1}
    .app-shell .call-center-card-table tr:not(.card-table-empty) td:first-child{font-size:15px}
    .app-shell .call-center-card-table tr:not(.card-table-empty) td:last-child{border-bottom:0}
    .app-shell .call-center-card-table tr:not(.card-table-empty) td:last-child form{display:inline-block;margin:6px 0 0 10px}
    .app-shell .call-center-card-table .card-table-empty{display:block}
    .app-shell .call-center-card-table .card-table-empty td{display:block;width:100%;white-space:normal}
}
@media(max-width:420px){.app-shell .customer-advanced-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.app-shell *{scroll-behavior:auto}}
/* Sales pipeline: show live work first, with readable cards at every width. */
.pipeline-page-head .page-actions{display:flex;flex-wrap:wrap;gap:8px}
.pipeline-view-switch{display:inline-flex;gap:4px;margin:0 0 14px;padding:4px;border:1px solid #d9e5e2;border-radius:10px;background:#f4f8f7}
.pipeline-view-switch a{padding:8px 12px;border-radius:7px;color:#526575;text-decoration:none;font-size:13px;font-weight:700}
.pipeline-view-switch a.is-active{background:#fff;color:#12645d;box-shadow:0 1px 5px #182b3a13}
.pipeline-empty{padding:20px;margin-bottom:14px}.pipeline-empty strong{font-size:15px}.pipeline-empty p{margin:5px 0 0;color:#526575;font-size:13px}
.pipeline-board.kanban{grid-auto-columns:minmax(280px,325px);gap:13px;align-items:start;overflow-x:auto;scrollbar-width:thin;padding:0 2px 14px}
.pipeline-board .pipeline-stage{min-height:160px;padding:12px;border:1px solid #dce6e8;border-radius:12px;background:#f2f6f6}
.pipeline-stage-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.pipeline-stage-heading h2{margin:0;color:#213b44;font-size:15px;line-height:1.3}
.pipeline-stage-heading .count{background:#e0eae9;color:#35545b;font-size:12px}
.pipeline-record[draggable=true]{cursor:grab}.pipeline-record.is-dragging{opacity:.55}.pipeline-record[aria-busy=true]{opacity:.7}.pipeline-stage.is-drop-target{outline:2px dashed #3d7f74;outline-offset:-4px;background:#e7f1ef}.pipeline-move-select{display:grid;gap:4px;color:#5d6f7e;font-size:11px;font-weight:700}.pipeline-move-select select{width:100%;min-height:34px;font-size:12px}.pipeline-move-status{margin:0 0 12px;padding:10px 12px;border-radius:9px;background:#eef6f4;color:#24564e;font-size:13px;font-weight:650}
.pipeline-record{display:grid;gap:7px;margin-bottom:9px;padding:14px;border:1px solid #dce5e8;border-radius:10px;background:#fff;box-shadow:0 2px 6px #182b3a0a}
.pipeline-record-title{color:#1c3846;text-decoration:none;font-size:15px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
.pipeline-record-title:hover{text-decoration:underline}.pipeline-record-title:focus-visible,.pipeline-view-switch a:focus-visible,.pipeline-record-more summary:focus-visible{outline:3px solid #286fbc;outline-offset:2px}
.pipeline-record-company{color:#49606a;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.pipeline-record-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;color:#61747b;font-size:12px}
.pipeline-next-task{display:grid;gap:3px;padding:9px 10px;border-radius:8px;background:#f5f9f8}
.pipeline-next-task span{color:#60777a;font-size:11px;font-weight:700}.pipeline-next-task strong{color:#24444a;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.pipeline-next-task small{color:#60777a;font-size:11px}
.pipeline-record-value{color:#12645d;font-size:14px;font-variant-numeric:tabular-nums}
.pipeline-record-more{padding-top:7px;border-top:1px solid #edf1f2}.pipeline-record-more summary{color:#12645d;cursor:pointer;font-size:12px;font-weight:700}
.pipeline-record-more dl{display:grid;gap:8px;margin:10px 0 0}.pipeline-record-more dl>div{display:grid;gap:2px}.pipeline-record-more dt{color:#657981;font-size:11px}.pipeline-record-more dd{margin:0;color:#294450;font-size:12px;overflow-wrap:anywhere}
.pipeline-stage-empty{margin:0;color:#60777a;font-size:13px}.pipeline-stage-pages{max-width:100%;overflow-x:auto}
@media(max-width:700px){.pipeline-page-head .page-actions{width:100%}.pipeline-page-head .page-actions a{flex:1;text-align:center}.pipeline-view-switch{display:flex}.pipeline-view-switch a{flex:1;text-align:center}.pipeline-board.kanban{display:grid;grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:minmax(0,1fr);margin:0;padding:0;overflow:visible}.pipeline-board .pipeline-stage{min-height:0}.pipeline-record{margin-bottom:8px}}
.day-date-filter{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
.app-shell .workspace-panel-head>a.primary{color:#fff}
.day-date-filter>label{flex:0 1 215px;min-width:180px}.day-date-filter>label input{width:100%}
.day-date-links,.day-date-actions{display:flex;align-items:center;gap:7px}
.day-date-links a,.day-date-actions>*{white-space:nowrap;text-align:center}
@media(max-width:700px){.day-date-filter{display:grid;grid-template-columns:minmax(0,1fr)}.day-date-filter>label{min-width:0}.day-date-links,.day-date-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.day-date-links a,.day-date-actions>*{min-width:0;white-space:normal}}
/* Opportunity handover: bounded task list and reachable save action. */
.app-shell .owner-transfer-tasks{min-width:0;display:grid;gap:10px;margin:20px 0;padding:16px;border:1px solid var(--ui-border);border-radius:12px}
.app-shell .owner-transfer-tasks legend{font-weight:700;padding:0 6px}
.app-shell .owner-transfer-tools{display:flex;gap:8px;flex-wrap:wrap}
.app-shell .owner-change-form .owner-form-actions{position:sticky;bottom:0;z-index:5;background:var(--ui-surface,#fff);padding:12px 0 calc(12px + env(safe-area-inset-bottom));box-shadow:0 -6px 15px #203b5108}
@media(max-width:600px){.app-shell .owner-transfer-tasks{padding:10px}.app-shell .owner-transfer-tools>*{flex:1}.app-shell .owner-change-form .owner-form-actions{flex-wrap:wrap}}
.app-shell .catalog-maintenance{margin-block:16px;padding:16px}
.app-shell .catalog-maintenance summary{font-weight:700;cursor:pointer;min-height:32px}
.app-shell .catalog-maintenance p{max-width:85ch;line-height:1.65}
.app-shell .catalog-maintenance-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:12px}
.app-shell .catalog-maintenance-filters label{display:grid;gap:5px;flex:1;min-width:160px}

.attachment-text-section {
    margin-block: 1rem;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.attachment-text-content {
    overflow-wrap: anywhere;
}

.attachment-text-section li + li {
    margin-top: .75rem;
}
