:root { color-scheme: light; --page:#f5f6fa; --paper:#fff; --ink:#1c2334; --muted:#737b8c; --line:#e6e9f0; --action:#6653de; --action-dark:#4d3bb8; --soft:#f1effc; --ready:#247750; --error:#b03345; --sidebar:#172136; font-family:Inter,"Segoe UI",system-ui,sans-serif; font-size:15px; line-height:1.55; background:var(--page); color:var(--ink); }
.badge.urgent { color:#a52b3b; background:#fff0f2; border:1px solid #ecc2c9; }
.callout.urgent-callout { border-color:#ecc2c9; background:#fff8f9; }
[aria-label="Rodzaj sprawy"] { flex-wrap:wrap; }
.conversation-list { min-width:0; }
.conversation-card { min-width:0; overflow:hidden; }
.conversation-card .badge { max-width:100%; white-space:normal; overflow-wrap:anywhere; margin:2px 3px 2px 0; }
* { box-sizing:border-box; } body { margin:0; } [hidden] { display:none !important; }
a { color:var(--action); text-underline-offset:3px; } button,input,textarea,select { font:inherit; } button { cursor:pointer; } button:disabled { cursor:default; opacity:.6; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline:3px solid #aba0ef; outline-offset:3px; }
.application { display:flex; min-height:100vh; } .workspace { flex:1; min-width:0; }
.sidebar { width:242px; flex-shrink:0; background:var(--sidebar); color:#e9edf5; padding:30px 18px; position:sticky; top:0; height:100vh; display:flex; flex-direction:column; gap:25px; overflow-y:auto; }
.brand { display:flex; align-items:center; gap:11px; text-decoration:none; color:inherit; font-weight:650; font-size:20px; letter-spacing:-.6px; }
.brand-mark { display:grid; place-items:center; width:38px; height:38px; flex-shrink:0; border-radius:12px; background:var(--action); color:white; font-size:19px; }
.side-caption { color:#94a0b6; font-size:11px; text-transform:uppercase; letter-spacing:1.3px; margin:0 12px 9px; }
.sidebar nav { display:grid; gap:5px; } .nav-link { display:flex; align-items:center; gap:12px; border:0; width:100%; border-radius:9px; padding:11px 12px; color:#b8c3d5; background:transparent; text-align:left; font-size:14px; }
.nav-link:hover { background:#223049; color:white; } .nav-link[aria-current="page"] { background:#6555d8; color:white; } .nav-symbol { width:21px; font-size:16px; text-align:center; }
.company-switch { padding:14px; border:1px solid #354157; border-radius:10px; } .company-switch strong { display:block; overflow-wrap:anywhere; font-size:14px; } .company-switch small { display:block; margin-top:3px; color:#9cabc2; font-size:12px; }
.side-bottom { margin-top:auto; color:#9cabc2; font-size:12px; padding:0 11px; } .side-bottom strong { display:block; color:#e6eaf3; font-size:13px; }
.topbar { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 38px; border-bottom:1px solid var(--line); background:white; } .breadcrumb { font-size:13px; color:var(--muted); } .breadcrumb strong { color:var(--ink); font-weight:500; }
.session { display:flex; gap:14px; align-items:center; } .avatar { display:grid; place-items:center; background:var(--soft); color:var(--action); width:33px; height:33px; border-radius:50%; font-size:13px; font-weight:600; }
main { max-width:1350px; margin:auto; padding:34px 38px 20px; min-width:0; } footer { padding:26px 38px; font-size:11px; color:#969dae; text-align:center; } footer span { padding:0 6px; }
h1 { font-size:28px; letter-spacing:-.9px; line-height:1.25; font-weight:650; margin:0; } h2 { font-size:18px; line-height:1.35; font-weight:600; margin:0; letter-spacing:-.2px; } h3 { font-size:15px; margin:0; font-weight:600; } p { margin:0; } .caption { color:var(--muted); font-size:13px; margin-top:7px; } .eyebrow { text-transform:uppercase; font-size:10px; font-weight:650; letter-spacing:1.5px; color:var(--action); margin-bottom:10px; }
.page-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:26px; } .page-heading .caption { max-width:720px; }
.panel { padding:25px; border:1px solid var(--line); border-radius:13px; background:var(--paper); } .panel+.panel { margin-top:20px; } .panel-heading { display:flex; justify-content:space-between; align-items:start; gap:16px; margin-bottom:20px; }
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } .grid .panel+.panel { margin-top:0; } .grid-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.stat { padding:22px; border-radius:13px; background:var(--paper); border:1px solid var(--line); } .stat-label { font-size:12px; color:var(--muted); } .stat strong { display:block; font-size:29px; font-weight:650; margin-top:5px; letter-spacing:-1px; } .stat .caption { font-size:11px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:10px 17px; border:1px solid var(--action); border-radius:8px; background:var(--action); color:white; font-size:13px; font-weight:550; text-decoration:none; }
.button:hover:not(:disabled) { background:var(--action-dark); } .button.secondary { background:white; border-color:var(--line); color:var(--ink); } .button.secondary:hover:not(:disabled) { background:var(--page); } .button.subtle { background:var(--soft); color:var(--action); border-color:var(--soft); } .button.danger { background:white; color:var(--error); border-color:#eac5ca; } .button.small { min-height:34px; padding:6px 12px; font-size:12px; } .button.block { width:100%; }
.text-button { border:0; padding:5px 0; background:transparent; color:var(--action); font-size:13px; text-decoration:underline; text-underline-offset:4px; } .actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; } .form-actions { border-top:1px solid var(--line); padding-top:20px; margin-top:8px; display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.form { display:grid; gap:20px; } .form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; } label { display:grid; gap:7px; font-size:13px; font-weight:500; } label small { font-weight:400; color:var(--muted); font-size:12px; } input,textarea,select { width:100%; min-width:0; border:1px solid #dce0e9; border-radius:7px; padding:11px 12px; min-height:43px; color:var(--ink); background:white; font-size:14px; } input[readonly],textarea[readonly] { background:var(--page); color:#5d6679; } textarea { resize:vertical; line-height:1.55; } .check { display:flex; align-items:center; gap:11px; font-weight:500; } .check input { width:18px; height:18px; min-height:18px; flex-shrink:0; accent-color:var(--action); } .check small { display:block; margin-top:3px; } .hint { font-size:12px; color:var(--muted); } .form-section { border-top:1px solid var(--line); padding-top:22px; }
.badge { display:inline-flex; align-items:center; gap:6px; padding:4px 9px; border-radius:6px; background:#f0f2f6; color:#70798a; font-size:11px; font-weight:550; white-space:nowrap; } .badge.ready { background:#edf8f1; color:var(--ready); } .badge.waiting { background:#fff5e6; color:#9f6c24; } .badge.test { background:var(--soft); color:var(--action); }
.empty { display:flex; flex-direction:column; align-items:center; text-align:center; padding:52px 24px; } .empty-icon { display:grid; place-items:center; width:65px; height:65px; border-radius:18px; background:var(--soft); color:var(--action); font-size:26px; margin-bottom:20px; } .empty h2 { font-size:21px; } .empty .caption { max-width:460px; margin-top:10px; } .empty .button { margin-top:22px; }
.company-table { width:100%; border-collapse:collapse; font-size:13px; } .company-table th { text-align:left; color:var(--muted); font-weight:500; font-size:11px; padding:11px 10px; border-bottom:1px solid var(--line); } .company-table td { padding:17px 10px; border-bottom:1px solid var(--line); vertical-align:middle; } .company-table tr:last-child td { border:0; } .company-table strong { display:block; font-weight:550; } .company-table small { display:block; color:var(--muted); margin-top:3px; } .table-scroll { overflow:auto; }
.setup-list { list-style:none; padding:0; margin:0; display:grid; gap:2px; } .setup-list li { display:flex; gap:13px; padding:14px 0; border-bottom:1px solid var(--line); } .setup-list li:last-child { border:0; } .step-mark { width:27px; height:27px; border-radius:50%; background:var(--page); color:var(--muted); display:grid; place-items:center; font-size:12px; flex-shrink:0; } .step-mark.done { background:#edf8f1; color:var(--ready); } .step-text { flex:1; min-width:0; } .step-text strong { display:block; font-size:13px; font-weight:550; } .step-text small { display:block; color:var(--muted); font-size:12px; margin-top:3px; }
.channel-card { padding:23px; border:1px solid var(--line); border-radius:12px; background:white; } .channel-icon { width:37px; height:37px; display:grid; place-items:center; border-radius:10px; background:var(--soft); color:var(--action); font-size:19px; margin-bottom:18px; } .channel-card .actions { margin-top:20px; } .channel-card .badge { margin-top:14px; }
.callout { background:#f7f6fe; border:1px solid #e5e0fb; border-radius:9px; padding:15px 17px; font-size:13px; color:#605b7f; margin:18px 0; } .callout.warning { background:#fffaf0; border-color:#f0e2c3; color:#866a38; } .callout p+p { margin-top:7px; } .break { overflow-wrap:anywhere; } .code { font-family:ui-monospace,Consolas,monospace; font-size:12px; }
.repeat-row { background:var(--page); padding:17px; border:1px solid var(--line); border-radius:10px; display:grid; gap:14px; } .repeat-header { display:flex; align-items:center; justify-content:space-between; gap:10px; } .repeat-list { display:grid; gap:14px; } .remove-button { color:var(--error); background:transparent; border:0; font-size:12px; padding:5px; }
.tabs { display:flex; gap:5px; padding:5px; background:#ebedf4; border-radius:8px; width:fit-content; margin-bottom:20px; flex-wrap:wrap; } .tab { border:0; background:transparent; color:var(--muted); padding:8px 14px; border-radius:6px; font-size:12px; } .tab[aria-selected="true"] { background:white; color:var(--ink); box-shadow:0 2px 4px #16213409; }
.conversation-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:18px; min-height:440px; } .conversation-list { display:grid; gap:8px; align-content:start; } .conversation-card { padding:15px; border:1px solid var(--line); border-radius:9px; background:white; text-align:left; color:var(--ink); width:100%; } .conversation-card.selected { border-color:#9e90e6; background:#f8f7ff; } .conversation-card strong { display:block; font-size:13px; } .conversation-card small { color:var(--muted); display:block; margin:6px 0; font-size:11px; } .conversation-card p { color:var(--muted); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.thread { display:grid; gap:13px; list-style:none; padding:0; margin:20px 0; max-height:530px; overflow:auto; } .bubble { max-width:91%; padding:13px 15px; border-radius:11px; background:var(--page); font-size:13px; } .bubble.own { justify-self:end; background:var(--soft); } .bubble.system { background:#fff8e9; } .bubble header { color:var(--muted); font-size:10px; margin-bottom:6px; display:flex; justify-content:space-between; gap:15px; } .bubble p { white-space:pre-wrap; overflow-wrap:anywhere; } .compose { display:grid; gap:10px; border-top:1px solid var(--line); padding-top:18px; } .compose .actions { justify-content:space-between; } .compose .hint { max-width:400px; }
.auth-page { display:grid; place-items:center; min-height:82vh; padding:20px; } .auth-card { width:100%; max-width:420px; padding:35px; background:white; border:1px solid var(--line); border-radius:18px; box-shadow:0 15px 60px #2532540a; } .auth-card .brand { color:var(--ink); margin-bottom:35px; } .auth-card h1 { font-size:25px; } .auth-card .form { margin-top:25px; } .auth-meta { margin-top:25px; font-size:11px; color:var(--muted); }
.notice { position:fixed; z-index:5; right:25px; bottom:22px; max-width:min(520px,calc(100vw - 36px)); border:1px solid #c8e1d2; background:#f5fff8; color:var(--ready); padding:13px 18px; border-radius:10px; box-shadow:0 6px 30px #16213420; font-size:13px; } .notice.error { border-color:#ebc5cc; background:#fff5f6; color:var(--error); } .loading { padding:50px 0; color:var(--muted); text-align:center; }
.public-chat .workspace { width:100%; } .public-chat main { max-width:720px; padding:30px 20px 10px; } .public-brand { display:flex; align-items:center; gap:12px; margin-bottom:28px; font-size:14px; font-weight:550; } .public-chat .panel { padding:27px; } .public-chat .thread { min-height:190px; max-height:55vh; } .public-chat h1 { font-size:25px; }
@media(max-width:1050px) { .sidebar { width:215px; padding:25px 14px; } main { padding:28px 25px 15px; } .topbar { padding:18px 25px; } .grid-three { grid-template-columns:1fr; } .conversation-layout { grid-template-columns:220px minmax(0,1fr); } }
@media(max-width:760px) { .application { display:block; } .sidebar { position:static; width:100%; height:auto; padding:18px; gap:17px; } .sidebar nav { display:flex; overflow:auto; gap:7px; } .nav-link { width:auto; flex-shrink:0; padding:10px 12px; } .side-caption,.side-bottom { display:none; } .company-switch { padding:9px 12px; } .sidebar .brand { font-size:18px; } .sidebar .brand-mark { width:32px; height:32px; } .topbar { min-height:64px; padding:15px 20px; } .session .avatar { display:none; } main { padding:25px 20px 10px; } h1 { font-size:25px; } .grid,.form-grid { grid-template-columns:1fr; } .panel { padding:21px; } .conversation-layout { grid-template-columns:1fr; } .conversation-list { display:flex; overflow:auto; padding-bottom:6px; } .conversation-card { min-width:230px; } .page-heading { align-items:start; } .auth-card { padding:27px; } footer { padding:22px; } }
@media(max-width:390px) { main { padding:22px 14px 10px; } .topbar { padding:14px; } .panel { padding:18px; } .breadcrumb { font-size:11px; } .notice { right:18px; bottom:18px; } }
