/* Scoped light smoke-gray workspace; existing CRM and signed document themes stay intact. */
.dc-workspace{--dc-bg:#d8d9d6;--dc-panel:#e1e2df;--dc-line:#747873;--dc-ink:#171b18;--dc-muted:#494e48;box-sizing:border-box;min-width:0;background:var(--dc-bg);color:var(--dc-ink);padding:clamp(16px,2.2vw,32px);border:1px solid #b8bcb5;border-radius:20px;font-family:"Nikarich Inter",Inter,Arial,sans-serif;line-height:1.55}
.dc-workspace *,.dc-dialog *{box-sizing:border-box}
.dc-workspace h1,.dc-workspace h2,.dc-workspace h3,.dc-dialog h2{color:var(--dc-ink,#171b18);font-weight:650;letter-spacing:-.035em;margin:0}
.dc-workspace h1{font-size:clamp(26px,2.5vw,40px);line-height:1.18}
.dc-workspace h2{font-size:clamp(18px,1.5vw,24px);line-height:1.3}
.dc-workspace h3{font-size:17px}.dc-workspace p{font-size:14px;margin:10px 0}.dc-workspace small,.dc-dialog small{font-size:12px;color:var(--dc-muted,#494e48)}
.dc-top,.dc-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.dc-top{align-items:flex-start;margin-bottom:22px}.dc-top>div{min-width:0}.dc-top>div>small{display:block;font-size:10px;font-weight:650;letter-spacing:.14em;margin-bottom:9px}.dc-top p{color:var(--dc-muted);margin:8px 0 0}
.dc-owner,.dc-outline-label{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;border:1px solid var(--dc-line);border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600}.dc-owner svg{width:18px;height:18px}
.dc-welcome{position:relative;overflow:hidden;min-height:160px;display:flex;align-items:center;padding:24px 30px;border:1px solid var(--dc-line);border-radius:14px;background:linear-gradient(110deg,#e3e4e0,#d8d9d6);isolation:isolate}
.dc-welcome:after{content:"";position:absolute;inset:0 0 0 30%;z-index:-1;background:url('/assets/development-palm-shadow.png') right center/cover no-repeat;filter:grayscale(1) blur(.5px);opacity:.2;pointer-events:none}
.dc-welcome>div{max-width:65%}.dc-brand{font-family:Georgia,serif;letter-spacing:.04em;font-size:19px;display:block;margin-bottom:12px}.dc-welcome h2{font-size:clamp(23px,2.3vw,34px)}.dc-welcome p{font-size:12px;color:var(--dc-muted)}
.dc-tabs{display:flex;gap:8px;border-bottom:1px solid #a6aaa3;margin:18px 0;overflow-x:auto;scrollbar-width:thin;max-width:100%}.dc-tabs button{flex:0 0 auto;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--dc-muted);font:inherit;font-size:14px;min-height:46px;padding:10px 16px;cursor:pointer;white-space:nowrap}.dc-tabs button[aria-selected=true]{color:var(--dc-ink);font-weight:650;border-bottom-color:var(--dc-ink)}
.dc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 20px}.dc-stats>div{display:grid;grid-template-columns:28px 1fr;column-gap:15px;align-items:center;border:1px solid var(--dc-line);border-radius:11px;padding:19px;background:var(--dc-panel)}.dc-stats svg{width:27px;height:27px;grid-row:span 2}.dc-stats strong{font-size:clamp(20px,1.8vw,29px);font-weight:650;letter-spacing:-.03em;line-height:1.2}.dc-stats span{font-size:12px;color:var(--dc-muted);margin-top:5px}
.dc-columns{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);gap:18px;align-items:start}.dc-stack{display:grid;gap:18px}.dc-panel{background:var(--dc-panel);border:1px solid var(--dc-line);border-radius:12px;padding:22px;min-width:0}.dc-project-card>p{white-space:pre-line;overflow-wrap:anywhere}.dc-section-heading{margin-bottom:13px;align-items:flex-start}.dc-section-heading small{white-space:nowrap}.dc-section-heading>div{min-width:0}.dc-section-heading h2{overflow-wrap:anywhere}.dc-section-heading>div>small{display:block;letter-spacing:.08em;font-size:10px;font-weight:650;margin-bottom:6px}
.dc-stages{display:flex;list-style:none;padding:20px 0;margin:12px 0 8px;border-bottom:1px solid #a5aaa1;gap:0}.dc-stages li{flex:1;text-align:center;position:relative;font-size:11px;color:var(--dc-muted)}.dc-stages li:before{content:"";height:1px;background:#a5aaa1;position:absolute;top:12px;left:0;right:0}.dc-stages li:first-child:before{left:50%}.dc-stages li:last-child:before{right:50%}.dc-stages li>span{position:relative;z-index:1;display:block;width:25px;height:25px;line-height:23px;margin:0 auto 9px;border-radius:50%;border:1px solid #777e73;background:var(--dc-panel);font-size:11px}.dc-stages li b{font-weight:500}.dc-stages li[aria-current]{color:var(--dc-ink)}.dc-stages li[aria-current]>span{background:#252c24;color:#fff;border-color:#252c24}.dc-stages li[aria-current]>b{font-weight:650}
.dc-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 20px}.dc-facts>div{border-right:1px solid #abb0a7;padding-right:10px;min-width:0}.dc-facts>div:last-child{border:0}.dc-facts dt{font-size:11px;color:var(--dc-muted)}.dc-facts dd{font-size:13px;overflow-wrap:anywhere;margin:5px 0 0;font-weight:500}
.dc-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.dc-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 14px;border:1px solid #666e61;border-radius:7px;background:#e4e5e1;color:#20261f;font:inherit;font-size:12px;font-weight:600;line-height:1.35;cursor:pointer;box-shadow:none;text-decoration:none;white-space:normal}.dc-button svg{height:16px;width:16px;flex-shrink:0}.dc-button:hover:not(:disabled){background:#c8cbc4}.dc-button:disabled{cursor:default;color:#555d50;background:#d0d3cb;border-color:#959d8e}.dc-primary{background:#272e25;color:#fff;border-color:#272e25}.dc-primary:hover:not(:disabled){background:#11190e}.dc-workspace :focus-visible,.dc-dialog :focus-visible{outline:2px solid #151e10;outline-offset:3px}
.dc-gates{padding:0;list-style:none;margin:8px 0 18px}.dc-gates li{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #adb2a7}.dc-gates li:last-child{border-bottom:0}.dc-gate-icon svg{width:19px;height:19px}.dc-gates b{font-size:13px;font-weight:550}.dc-gates small{display:block;margin-top:3px}.dc-disabled{width:100%}.dc-muted{color:var(--dc-muted)}.dc-workspace .dc-small{font-size:12px;line-height:1.65}.dc-footer{font-size:11px;color:var(--dc-muted);border-top:1px solid #a7aea0;margin-top:24px;padding-top:14px}
.dc-empty{text-align:center;padding:30px 14px}.dc-empty>svg{height:36px;width:36px;margin:0 0 12px;color:#515a4b}.dc-empty p{color:var(--dc-muted);font-size:13px;max-width:560px;margin:12px auto 18px}.dc-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dc-project-grid .dc-panel{background:#daddd5}.dc-pager{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-top:20px;font-size:12px;color:var(--dc-muted)}.dc-pager>div{display:flex;gap:8px}.dc-detail-back{margin-bottom:16px}.dc-detail-columns{margin:18px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.dc-criteria{padding-left:22px;font-size:14px}.dc-criteria li{padding:8px 0;overflow-wrap:anywhere}.dc-work-list{list-style:none;padding:0}.dc-work-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #a7aea0;padding:14px 0}.dc-work-list li:last-child{border:0}.dc-work-list b{font-size:14px}.dc-work-list p{font-size:12px;color:var(--dc-muted);white-space:pre-line;overflow-wrap:anywhere}.dc-work-list>li>div{min-width:0}
.dc-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0 24px}.dc-check-grid>div{border:1px solid #959e8d;padding:18px;border-radius:8px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:13px}.dc-check-grid svg{width:24px;height:24px}.dc-check-grid span{font-size:12px;color:var(--dc-muted)}.dc-table-wrap{overflow-x:auto;max-width:100%}.dc-workspace table{width:100%;border-collapse:collapse;background:transparent;font-size:13px;min-width:660px}.dc-workspace th,.dc-workspace td{padding:16px 12px;text-align:left;border-bottom:1px solid #a5ada0;vertical-align:top;color:var(--dc-ink);background:transparent}.dc-workspace th{font-size:11px;color:var(--dc-muted);font-weight:650}.dc-workspace code,.dc-dialog code{font-family:ui-monospace,Consolas,monospace;font-size:11px;overflow-wrap:anywhere}.dc-history{list-style:none;padding:0}.dc-history li{display:flex;align-items:flex-start;gap:16px;padding:16px 0;border-bottom:1px solid #a5ada0;font-size:13px}.dc-history li>div{flex:1;min-width:0}.dc-history p{font-size:12px;overflow-wrap:anywhere;margin:4px 0}.dc-history-index{font-size:11px;color:var(--dc-muted);min-width:30px}
.dc-dialog{--dc-ink:#171b18;--dc-muted:#494e48;box-sizing:border-box;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #626d59;border-radius:14px;background:#dfe1da;color:var(--dc-ink);font:14px/1.6 "Nikarich Inter",Inter,Arial,sans-serif;box-shadow:0 26px 100px #1118;overflow:hidden}.dc-dialog::backdrop{background:#141a1780;backdrop-filter:blur(4px)}.dc-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #a6ae9d}.dc-dialog h2{font-size:21px}.dc-close{font-size:23px;min-width:40px;padding:4px}.dc-dialog-body{padding:22px;max-height:calc(100dvh - 170px);overflow-y:auto;overscroll-behavior:contain}.dc-field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.dc-field>span{font-size:12px;font-weight:600}.dc-field input,.dc-field select,.dc-field textarea{width:100%;min-height:44px;padding:10px 12px;background:#eaebe6;border:1px solid #6d7862;border-radius:6px;color:#171b18;font:16px/1.5 "Nikarich Inter",Inter,Arial,sans-serif}.dc-field textarea{resize:vertical}.dc-dialog footer{border-top:1px solid #a6ae9d;padding-top:18px;display:flex;justify-content:flex-end;margin-top:18px}.dc-form-error{color:#7b1717;background:#eee4df;padding:12px;border-left:3px solid #7b1717;overflow-wrap:anywhere}.dc-release-detail{margin:0}.dc-release-detail dt{font-size:11px;color:var(--dc-muted);margin-top:12px}.dc-release-detail dd{margin:5px 0 16px;overflow-wrap:anywhere}.dc-error{max-width:680px;margin:auto}.dc-error p{overflow-wrap:anywhere}
@media(min-width:1600px){.dc-welcome{min-height:180px}.dc-columns{grid-template-columns:minmax(0,2fr) minmax(300px,1fr)}}
@media(max-width:1100px){.dc-columns{grid-template-columns:1fr}.dc-project-grid{grid-template-columns:1fr}.dc-stats{gap:10px}.dc-stats>div{padding:15px;column-gap:10px}.dc-stats strong{font-size:23px}.dc-detail-columns{grid-template-columns:1fr}}
@media(max-width:680px){.dc-workspace{padding:16px 12px;border-radius:12px}.dc-top{gap:10px}.dc-top>div>small{font-size:9px}.dc-top p{font-size:12px}.dc-owner{padding:8px;font-size:10px;gap:5px}.dc-owner svg{width:15px;height:15px}.dc-welcome{padding:22px 18px;min-height:160px}.dc-welcome>div{max-width:95%}.dc-welcome:after{left:25%;opacity:.11}.dc-brand{font-size:16px}.dc-welcome p{max-width:250px;font-size:11px}.dc-tabs{gap:0;margin:15px 0}.dc-tabs button{padding:11px 13px;font-size:13px}.dc-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dc-stats>div{padding:13px;grid-template-columns:22px 1fr;column-gap:10px}.dc-stats svg{width:22px;height:22px}.dc-stats strong{font-size:22px}.dc-stats span{font-size:10px}.dc-panel{padding:17px 14px}.dc-section-heading{flex-wrap:wrap;gap:10px}.dc-section-heading h2{font-size:20px}.dc-section-heading .dc-actions{width:100%}.dc-stages{margin-top:18px}.dc-stages li{font-size:10px}.dc-stages li>b{display:block}.dc-facts{gap:10px}.dc-facts dd{font-size:12px}.dc-pager{align-items:flex-start;flex-direction:column;gap:10px}.dc-pager>div{align-self:flex-end}.dc-actions .dc-button{min-height:42px}.dc-check-grid{grid-template-columns:1fr}.dc-history{margin-top:20px}.dc-history li{flex-wrap:wrap;gap:9px}.dc-history li>code{margin-left:39px}.dc-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px)}.dc-dialog>header{padding:16px}.dc-dialog-body{padding:16px;max-height:calc(100dvh - 138px)}.dc-dialog h2{font-size:19px}.dc-work-list li{flex-wrap:wrap}.dc-work-list li .dc-button{margin-left:auto}.dc-outline-label{font-size:10px}}

@media(max-width:1000px){.dc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.dc-backbar{position:sticky;top:var(--dc-back-top,8px);z-index:4;display:flex;align-items:center;gap:12px;padding:8px 0 12px;margin:0 0 18px;background:var(--dc-bg,#d8d9d6);border-bottom:1px solid #a5aaa1}.dc-backbar .dc-button{min-height:44px;padding:10px 16px}.dc-backbar>span{font-size:12px;color:var(--dc-muted,#494e48)}

.fk-center,.fk-center *,.fk-dialog,.fk-dialog *{box-sizing:border-box;min-width:0}
.fk-center{width:100%;max-width:86rem;margin:0 auto;padding:clamp(12px,2vw,28px);color:var(--text,#172c35)}
.fk-center header,.fk-dialog header,.fk-list-head,.fk-business{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.fk-center h2,.fk-center h3,.fk-center h4,.fk-dialog h3{margin:0 0 .45rem}
.fk-business,.fk-apps article{padding:1rem;border:1px solid var(--border,#cbd9dd);border-radius:.65rem}
.fk-business{margin:.55rem 0}.fk-business>div,.fk-apps article{display:grid;gap:.45rem;align-content:start}
.fk-center code,.fk-dialog output{display:block;overflow-wrap:anywhere;font-size:.85rem}
.fk-center small,.fk-dialog output{color:var(--muted,#4c6168)}.fk-center>h3{margin-top:1.4rem}
.fk-apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.75rem}
.fk-apps p{margin:.25rem 0}.fk-apps details code{margin:.25rem 0 .7rem}.fk-apps summary{cursor:pointer}
.fk-dialog{width:min(31rem,94vw);max-height:85dvh;border:1px solid #b8cdd1;border-radius:.8rem;padding:1.2rem;background:var(--surface,#fff);color:inherit}
.fk-dialog::backdrop{background:#16292f85}.fk-dialog header button{font-size:1.4rem;background:none;border:0;cursor:pointer}
.fk-dialog label{display:grid;gap:.35rem;margin:.65rem 0}.fk-dialog input:not([type=checkbox]){padding:.6rem;border:1px solid #9baeb3;border-radius:.35rem;width:100%}
.fk-dialog fieldset{margin:.7rem 0;border:1px solid #cbd9dd}.fk-dialog fieldset label{display:block}.fk-dialog [role=alert]{color:#b02322}
@media(max-width:580px){.fk-business{display:grid}.fk-center header{align-items:flex-start;flex-wrap:wrap}.fk-center .btn,.fk-dialog button{min-height:40px}}

.fk-tools{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
