.app-dialog{box-sizing:border-box;border:1px solid var(--line,#dbe1ee);background:var(--surface,#fff);width:min(480px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink,#172033);border-radius:18px;margin:auto;padding:28px;font-family:inherit;overflow-y:auto;box-shadow:0 24px 80px #0005}.app-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#080e2077}.app-dialog h2{margin:0 0 14px;font-size:21px;font-weight:800;line-height:1.35}.app-dialog p{white-space:pre-line;overflow-wrap:anywhere;margin:0 0 22px;font-size:14px;line-height:1.75}.app-dialog-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.app-dialog button{border:1px solid var(--line,#dbe1ee);background:var(--surface2,#f4f6fc);min-height:44px;color:var(--ink,#172033);font:inherit;cursor:pointer;border-radius:10px;padding:11px 18px;font-size:14px;font-weight:700}.app-dialog .app-dialog-primary{background:var(--accent,#6475ef);color:var(--onAccent,#fff);border-color:var(--accent,#6475ef)}.app-dialog button:focus-visible{outline:3px solid var(--accent,#6475ef);outline-offset:3px}.app-dialog-progress{color:var(--mute,#64748b);font-size:13px}.reference-dashboard .work-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.reference-dashboard .work-heading h1{letter-spacing:-.025em;margin:0;font-size:28px;font-weight:800}.reference-dashboard .work-heading p{color:var(--soft);margin:6px 0 0;font-size:15px}.reference-dashboard .work-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.reference-dashboard .work-button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;justify-content:center;align-items:center;padding:11px 14px;font-size:14px;font-weight:700;display:inline-flex}.reference-dashboard .work-button.btnp{background:var(--accent);color:var(--onAccent);border:0}.reference-dashboard button:disabled{cursor:not-allowed;opacity:.5;transform:none}.reference-dashboard .work-panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;overflow:hidden}.reference-dashboard .work-hint{color:var(--mute);margin:6px 0 0;font-size:13px;line-height:1.6}.reference-dashboard .work-notice{border:1px solid var(--line);background:var(--surface2);border-radius:12px;padding:16px 20px;font-size:14px;line-height:1.6}.reference-dashboard .work-notice p{margin:0 0 8px}.reference-dashboard .work-notice[role=alert]{background:var(--errSoft);color:var(--err)}.reference-dashboard .work-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:4px;padding:12px 14px 0;display:flex}.reference-dashboard .work-tabs button{color:var(--mute);background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:8px;padding:10px 14px;font-size:14px;font-weight:700;display:flex}.reference-dashboard .work-tabs button[aria-selected=true]{color:var(--accentText);border-bottom-color:var(--accent)}.reference-dashboard .work-tabs span,.reference-dashboard .work-badge{background:var(--surface2);color:var(--soft);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}.reference-dashboard .work-job{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:14px;padding:18px;display:flex}.reference-dashboard .work-job:last-child{border-bottom:0}.reference-dashboard .work-avatar{background:var(--accentSoft);width:38px;height:38px;color:var(--accentText);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:800;display:grid}.reference-dashboard .work-job-title{flex:220px;min-width:0}.reference-dashboard .work-job h2{overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:700}.reference-dashboard .work-job p{color:var(--mute);margin:4px 0 0;font-size:12px}.reference-dashboard .work-job time{color:var(--mute);font-size:12px}.reference-dashboard .work-empty{text-align:center;color:var(--mute);padding:48px 24px;font-size:14px}.reference-dashboard .work-overlay{z-index:400;overscroll-behavior:contain;background:#0b0f178c;justify-content:center;align-items:flex-start;padding:24px;animation:none;display:flex;position:fixed;inset:0;overflow-y:auto}.reference-dashboard .work-dialog{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--line) var(--surface);outline:none;flex-direction:column;flex:none;gap:18px;width:100%;max-width:680px;max-height:calc(100dvh - 48px);margin:0;padding:24px;display:flex;overflow:hidden auto}.reference-dashboard .work-dialog>*{flex-shrink:0}.reference-dashboard .work-dialog h2{letter-spacing:-.015em;margin:0;font-size:20px;font-weight:800}.reference-dashboard .work-dialog fieldset{border:0;min-width:0;margin:0;padding:0}.reference-dashboard .work-dialog label{flex-direction:column;gap:8px;margin-top:16px;font-size:13px;font-weight:700;display:flex}.reference-dashboard .work-dialog input,.reference-dashboard .work-dialog select,.reference-dashboard .work-dialog textarea{font:inherit;border:1px solid var(--line);background:var(--bg);width:100%;min-width:0;color:var(--ink);border-radius:10px;padding:11px 12px;font-weight:500}.reference-dashboard .work-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.reference-dashboard .work-wide,.reference-dashboard .work-multi{grid-column:1/-1}.reference-dashboard fieldset.work-multi{margin-top:16px}.reference-dashboard .work-multi legend{font-size:13px;font-weight:700}.reference-dashboard .work-multi label{flex-direction:row;align-items:center;margin:12px 14px 0 0;display:inline-flex}.reference-dashboard .work-multi input{width:auto}.reference-dashboard .work-dialog footer{justify-content:flex-end}.reference-dashboard .work-detail{overflow-wrap:anywhere;flex-direction:column;flex:340px;gap:16px;min-width:0;padding:22px;display:flex}.reference-dashboard .work-detail h2{letter-spacing:-.015em;margin:0;font-size:18px;font-weight:800;line-height:1.35}.reference-dashboard .work-detail h3{color:var(--mute);text-transform:uppercase;letter-spacing:.04em;margin:0 0 6px;font-size:12px;font-weight:800}.reference-dashboard .work-content{background:var(--surface2);border-radius:12px;flex-direction:column;gap:14px;padding:16px;font-size:14px;line-height:1.6;display:flex}.reference-dashboard .work-text{white-space:pre-wrap;margin:4px 0 0}.reference-dashboard .work-content ul{padding-left:18px;list-style:outside}.reference-dashboard .work-content pre{white-space:pre-wrap;font-family:monospace;overflow:auto}.reference-dashboard .work-history{margin:12px 0 0;padding-left:18px;font-size:13px;list-style:decimal}.reference-dashboard .work-history li{margin-bottom:14px}.reference-dashboard .work-history time{color:var(--mute);margin-top:4px;font-size:12px;display:block}.reference-dashboard .work-error{color:var(--err)!important}.reference-dashboard .work-review-form{border:1px solid var(--line);background:var(--surface2);border-radius:12px;flex-direction:column;gap:12px;padding:16px;display:flex}.reference-dashboard .work-review-form label{flex-direction:column;gap:8px;font-size:13px;font-weight:700;display:flex}.reference-dashboard .work-review-form textarea{font:inherit;border:1px solid var(--line);background:var(--bg);width:100%;color:var(--ink);border-radius:10px;padding:11px 12px;font-weight:500}@media (width<=560px){.reference-dashboard .work-fields{grid-template-columns:1fr}.reference-dashboard .work-overlay{padding:12px}.reference-dashboard .work-dialog{max-height:calc(100dvh - 24px);padding:18px}}.work-task-inline{color:var(--ink,#141a29);padding:16px 0;font-family:inherit}.work-task-inline h2{margin-bottom:16px;font-size:18px}.work-task-inline fieldset,.work-dialog>fieldset{border:0;gap:16px;min-width:0;margin:0;padding:0;display:grid}.work-task-inline label,.task-inputs label{gap:7px;font-size:12px;font-weight:600;display:grid}.work-task-inline input,.work-task-inline select,.work-task-inline textarea{color:#141a29;width:100%;font:inherit;box-sizing:border-box;background:#f6f8fb;border:1px solid #dfe4ec;border-radius:10px;padding:10px 12px}.work-task-inline .work-actions{margin-top:20px}.task-mode-note{background:var(--accentSoft,#eaf0ff);border-radius:10px;margin-bottom:5px;padding:12px 14px;font-size:12px;line-height:1.7}.task-inputs{border:1px solid var(--line,#e4e8f0);border-radius:12px;gap:14px;padding:16px;display:grid}.work-task-inline .work-hint{font-size:11px;line-height:1.7}.work-task-inline .work-button{font-size:12px}.work-task-inline a{color:#3b63e0}.reference-dashboard .tenant-work{gap:22px;display:grid}.reference-dashboard .tenant-work>.work-panel{padding:20px}.reference-dashboard .tenant-work fieldset{border:0;gap:16px;min-width:0;padding:0;display:grid}.reference-dashboard .tenant-work label{gap:8px;font-size:14px;font-weight:650;display:grid}.reference-dashboard .tenant-work input,.reference-dashboard .tenant-work textarea{border:1px solid var(--line);background:var(--surface2);width:100%;color:var(--ink);font:inherit;border-radius:10px;padding:12px}.reference-dashboard .work-table-wrap{overflow:auto}.reference-dashboard .work-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.reference-dashboard .work-table th{color:var(--soft);font-size:12px}.reference-dashboard .work-table td,.reference-dashboard .work-table th{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:14px 12px}.client-profile-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:.75rem 1rem;display:grid}.work-exports{gap:14px;min-width:0;display:grid}.work-studio:empty{display:none}.work-studio .studio{border:1px solid var(--line);background:var(--surface2);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;border-radius:14px;padding:16px}.reference-dashboard.dark .work-studio .studio{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.work-studio summary{cursor:pointer;font-size:14px;font-weight:800}.work-studio .studio-ctl,.work-studio .row{flex-wrap:wrap;align-items:end;gap:12px;margin-block:16px;display:flex}.work-studio .studio-field{color:var(--soft);gap:6px;max-width:100%;font-size:12px;font-weight:700;display:grid}.work-studio .studio-field :is(select,input){border:1px solid var(--line);background-color:var(--bg);min-width:0;max-width:100%;min-height:42px;color:var(--ink);font:inherit;border-radius:9px;padding:8px 12px;font-size:14px}.work-studio option{background:var(--bg);color:var(--ink)}.work-studio input[type=color]{cursor:pointer;width:56px;padding:5px}.work-studio input[type=text]{width:150px}.work-studio input[type=number]{width:90px}.work-studio .studio-grid{scrollbar-width:thin;grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr));align-items:start;gap:12px;max-height:min(400px,55dvh);margin-block:16px;padding:4px;display:grid;overflow:auto}.work-studio figure{min-width:0;max-width:220px;margin:0}.work-studio .thumb{border-radius:10px;width:100%;height:auto;display:block}.work-studio figcaption{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin-top:6px;font-size:12px;font-weight:700;display:flex}.work-studio .video-box video{border-radius:10px;max-width:min(260px,100%);margin-block:8px;display:block}.work-studio .muted{color:var(--soft);font-size:12px}.work-studio .btn{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--ink);cursor:pointer;border-radius:9px;padding:8px 12px;font-size:13px;font-weight:750}.work-studio .btn.primary{background:var(--accent);color:var(--onAccent);border-color:var(--accent)}.work-studio .btn:hover:not(:disabled){filter:brightness(1.1)}.work-studio .btn:disabled{opacity:.55;cursor:default}.reference-dashboard .customer-board .work-content>section{flex-shrink:0;min-width:0}.reference-dashboard .customer-board .work-content:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}:is(#panel,.reference-dashboard) fieldset.task-multi{border:0;min-width:0;margin:0;padding:0;display:block}:is(#panel,.reference-dashboard) .task-multi legend{color:var(--ink,#141a29);margin-bottom:6px;padding:0;font-size:15px;font-weight:650}:is(#panel,.reference-dashboard) .task-multi .task-multi-help,:is(#panel,.reference-dashboard) .task-multi .task-multi-summary{color:var(--ink,#141a29);margin:0 0 10px;font-size:13px;line-height:1.6}:is(#panel,.reference-dashboard) .task-multi .task-multi-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}:is(#panel,.reference-dashboard) .task-multi label.task-multi-option{border:1px solid var(--line,#dfe4ec);background:var(--bg,#f6f8fb);min-height:46px;color:var(--ink,#141a29);cursor:pointer;box-sizing:border-box;overflow-wrap:anywhere;border-radius:10px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px;margin:0;padding:10px 12px;font-size:15px;font-weight:550;display:grid}:is(#panel,.reference-dashboard) .task-multi label.is-selected{border-color:var(--accent,#4f7cff);background:var(--accentSoft,#eaf0ff)}:is(#panel,.reference-dashboard) .task-multi input[type=checkbox]{appearance:auto;width:20px;height:20px;min-height:20px;accent-color:var(--accent,#4f7cff);cursor:pointer;margin:0;padding:0}:is(#panel,.reference-dashboard) .task-multi .task-multi-option:focus-within{outline:2px solid var(--accent,#4f7cff);outline-offset:2px}:is(#panel,.reference-dashboard) .task-multi .task-multi-summary{margin:10px 0 0;font-weight:600}:is(#panel,.reference-dashboard) .task-multi:disabled .task-multi-option,:is(#panel,.reference-dashboard) fieldset:disabled .task-multi-option{opacity:.6;cursor:not-allowed}@media (width<=360px){:is(#panel,.reference-dashboard) .task-multi .task-multi-options{grid-template-columns:1fr}}:is(.reference-dashboard,.reference-onboarding,.admin-workspace,.admin-action-dialog,.work-task-inline,.fld,.client-bar,.board-filters,.studio-ctl,.conversation-tools,#chat-model-field) select:not([multiple]):not([size]){appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237987a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 16px center;background-repeat:no-repeat;background-size:16px;min-height:42px;padding-inline-end:44px!important}:is(.reference-dashboard,.reference-onboarding,.admin-workspace,.admin-action-dialog,.work-task-inline,.fld,.client-bar,.board-filters,.studio-ctl,.conversation-tools,#chat-model-field) select:disabled{cursor:not-allowed;opacity:.65}@media (forced-colors:active){:is(.reference-dashboard,.reference-onboarding,.admin-workspace,.admin-action-dialog,.work-task-inline,.fld,.client-bar,.board-filters,.studio-ctl,.conversation-tools,#chat-model-field) select{appearance:auto;background-image:none}}.reference-dashboard .app-primary{background:var(--grad);color:var(--onAccent);border:1px solid var(--accent);box-shadow:var(--glow);min-height:44px;font-weight:800}.reference-dashboard .app-primary:hover:not(:disabled){filter:brightness(1.06)}.reference-dashboard .app-primary:disabled{background:var(--surface2);color:var(--mute);border-color:var(--line);box-shadow:none;cursor:not-allowed}.reference-dashboard .sidebar-user-name{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:800;display:block;overflow:hidden}.reference-dashboard :is(select,.customer-modal-body input:not([type=checkbox]),.customer-modal-body textarea):focus-visible{outline:2px solid var(--accentText);outline-offset:-2px}.reference-dashboard.dark select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}
