:root{--ink:#223832;--sub:#79847e;--brand:#1e5b4e;--dark:#16483d;--lime:#d7ec9e;--bg:#f5f7f4;--line:#e6ebe6;--white:#fff;--mint:#ecf4ed;--shadow:0 8px 30px #18382b0b;font-size:14px;color:var(--ink);background:var(--bg);}*{box-sizing:border-box}body{margin:0}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}a{color:inherit;text-decoration:none}button{color:inherit}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}button svg{vertical-align:middle}button:focus-visible,a:focus-visible{outline:2px solid #22715f}button:hover{filter:brightness(.97)}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1px;font-weight:var(--font-weight)}h2{font-size:16px;letter-spacing:-.35px;font-weight:var(--font-weight)}h3{font-size:14px;font-weight:var(--font-weight)}.muted{color:var(--sub)}.small{font-size:12px}.skip{position:fixed;top:-60px;background:#fff;padding:12px;z-index:100}.skip:focus{top:0}.boot{height:100vh;display:grid;place-content:center;text-align:center;gap:20px}.boot .piq-wordmark{width:min(320px,80vw);margin:auto}.spinner{width:24px;height:24px;border:2px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite;margin:10px auto}@keyframes spin{to{transform:rotate(360deg)}}
.sidebar{width:222px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20;padding:28px 16px 16px}.brand{display:block;padding:0 5px 29px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:12px;border-radius:10px;margin-bottom:26px;font-size:12px}.workspace .wsmark{display:grid;place-items:center;background:var(--mint);color:var(--brand);width:30px;height:30px;border-radius:8px}.workspace span{display:block;font-size:10px;color:var(--sub);margin-top:3px}.nav-label{font-size:9px;letter-spacing:1.8px;color:#9aa49d;font-weight:var(--font-weight);margin:0 13px 9px}.nav-link{display:flex;gap:12px;align-items:center;height:44px;margin:4px 0;border-radius:8px;padding:0 13px;font-size:13px;color:#69756d;font-weight:var(--font-weight)}.nav-link.active{color:var(--brand);background:#edf4ec;font-weight:var(--font-weight)}.nav-link:hover{background:#f4f7f2}.nav-link.active:after{content:"";width:5px;height:5px;background:var(--brand);border-radius:50%;margin-left:auto}.nav-link svg{width:18px}.nav-divider{height:1px;background:var(--line);margin:17px 12px}.sidebar-bottom{margin-top:auto}.connected-card{padding:15px 12px;border-radius:10px;background:#f7f9f5;margin:30px 0 14px}.connected-card b{font-size:11px;display:flex;gap:7px;align-items:center}.dot{display:inline-block;width:6px;height:6px;background:#58a77a;border-radius:50%}.connected-card p{font-size:10px;line-height:1.6;color:var(--sub);margin-top:7px}.profile{width:100%;background:none;border:0;display:flex;align-items:center;gap:10px;text-align:left;padding:10px 4px}.avatar{background:#e6eddf;color:#53704c;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:var(--font-weight);width:32px;height:32px;flex:none}.profile b{font-size:12px}.profile span{display:block;font-size:10px;color:var(--sub);margin-top:4px}.profile svg{margin-left:auto;width:15px}.shell{margin-left:222px}.topbar{height:75px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);background:#ffffffc9;gap:20px}.crumb{display:flex;gap:12px;color:#8c968e;font-size:12px;align-items:center}.crumb b{color:var(--ink);font-weight:var(--font-weight)}.crumb svg{width:13px}.top-actions{display:flex;gap:17px;align-items:center}.global-search{width:255px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px 12px;text-align:left;color:#879087;font-size:11px}.global-search kbd{margin-left:auto;font-size:10px;border:1px solid var(--line);padding:2px 5px;border-radius:4px}.global-search svg{width:15px}.icon-button{border:1px solid var(--line);background:white;border-radius:7px;display:inline-grid;place-items:center;width:35px;height:35px}.icon-button svg{width:16px}.menu-toggle{display:none}.main{padding:30px 32px 36px;max-width:1800px;margin:auto}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#7e8b80;text-transform:uppercase;margin-bottom:10px}.page-heading p{font-size:12px;color:var(--sub);margin-top:10px}.heading-actions{display:flex;align-items:center;gap:10px;padding-top:6px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce4dc;border-radius:7px;padding:10px 14px;background:white;font-size:11px;font-weight:var(--font-weight);min-height:36px;white-space:nowrap}.btn svg{width:15px;height:15px}.btn.primary{background:var(--brand);border-color:var(--brand);color:white}.btn.subtle{background:transparent;border-color:transparent;color:var(--brand);padding:4px 0}.btn.danger{color:#a23c32}.select{border:1px solid #dce4dc;border-radius:7px;padding:9px 30px 9px 12px;background:white;font-size:11px;color:#526257;min-height:36px;max-width:230px}.data-strip{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:10px;color:#89948b}.data-strip span{display:flex;gap:6px;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:20px 20px 17px;position:relative}.stat.featured{background:#eaf1e7;border-color:#e0e9dc}.stat-top{font-size:11px;font-weight:var(--font-weight);color:#627368;display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.stat-top svg{width:16px;height:16px;color:#7d9580}.stat strong{font-size:30px;letter-spacing:-1px;font-weight:var(--font-weight);line-height:1.2}.stat-bottom{font-size:10px;color:#919b92;display:flex;align-items:center;gap:5px;margin-top:13px}.stat-bottom b{font-weight:var(--font-weight);color:var(--brand)}.stat .mini-chart{position:absolute;width:70px;height:30px;right:17px;bottom:30px;opacity:.55}.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.cards-row{display:grid;grid-template-columns:1.04fr 1fr;gap:20px;margin-bottom:20px}.card{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;padding:20px 21px 0;gap:15px}.card-head p{font-size:10px;color:var(--sub);margin-top:5px}.card-head .btn{font-size:10px}.card-body{padding:20px 21px}.chart-caption{font-size:10px;color:var(--sub);display:flex;align-items:center;gap:6px}.chart-caption .dot{background:var(--brand)}.pipeline-total{font-size:25px;letter-spacing:-.7px;margin:0 0 5px}.stage-row{display:block;border:0;background:transparent;text-align:left;width:100%;padding:10px 0 2px}.stage-top{display:flex;justify-content:space-between;font-size:10px;margin-bottom:7px;gap:10px}.stage-top .muted{font-size:9px}.stage-track{height:6px;border-radius:4px;background:#f1f4ef}.stage-bar{height:100%;border-radius:4px;background:var(--brand)}.stage-row:nth-child(2) .stage-bar{background:#528770}.stage-row:nth-child(3) .stage-bar{background:#93b392}.stage-row:nth-child(4) .stage-bar{background:#c0d790}.stage-row:nth-child(5) .stage-bar{background:#a0b2b3}.chart{width:100%;height:176px;margin-top:10px;overflow:visible}.chart text{font-size:9px;fill:#97a194}.chart .gridline{stroke:#edf0eb;stroke-dasharray:3 4}.chart-foot{display:flex;justify-content:space-between;font-size:10px;color:var(--sub);border-top:1px solid var(--line);padding-top:16px;margin-top:8px}.chart-foot strong{color:var(--brand);font-size:13px}.focus-card{background:#214f43;color:white;border:0;padding:22px;border-radius:11px;position:relative;overflow:hidden;margin-bottom:20px}.focus-card:after{content:"";position:absolute;width:140px;height:140px;border:1px solid #a7c69c2b;border-radius:50%;right:-70px;top:-40px;box-shadow:0 0 0 25px #a7c69c0c,0 0 0 50px #a7c69c08}.focus-card .eyebrow{color:#c4d6bd;font-size:9px;display:flex;align-items:center;gap:8px;margin-bottom:22px}.focus-card h2{font-size:23px;line-height:1.35;max-width:210px;letter-spacing:-.6px;position:relative;z-index:1}.focus-card p{color:#b8cfc3;font-size:11px;line-height:1.7;margin:11px 0 23px}.focus-card .btn{background:#dcedb4;border:0;color:#214f43;width:100%;justify-content:space-between}.tasks{margin-top:4px}.task-row{display:flex;gap:11px;align-items:start;padding:15px 0;border-bottom:1px solid var(--line);font-size:11px}.task-row:last-child{border-bottom:0}.task-symbol{margin-top:1px;color:#99ac97}.task-symbol svg{width:15px}.task-row b{display:block;font-weight:var(--font-weight);line-height:1.5}.task-row span{font-size:10px;color:var(--sub);display:block;margin-top:4px}.task-row .overdue{color:#b06e48}.right-col .card-body{padding-top:8px}.micro-footer{font-size:9px;color:#a0a89f;text-align:center;margin-top:16px;line-height:1.7}.badge{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;border-radius:5px;padding:4px 7px;font-size:9px;color:#47775b;background:#edf4e8}.badge.blue{background:#eaf2fa;color:#577993}.badge.orange{background:#faf0df;color:#a77f40}.badge.gray{background:#f0f2ef;color:#8b958c}.badge.red{background:#fbeeea;color:#af6f61}.badge.purple{background:#f1edf8;color:#8e7ca7}.table-scroll{overflow:auto}.table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:11px}.table th{padding:13px 19px;background:#f9fbf8;color:#839082;font-size:9px;font-weight:var(--font-weight);border-bottom:1px solid var(--line)}.table th button{padding:0;border:0;background:transparent;color:inherit;font:inherit;display:flex;align-items:center;gap:5px}.table th svg{width:11px;height:11px}.table td{padding:14px 19px;border-bottom:1px solid #edf0eb;color:#677769;max-width:270px;overflow:hidden;text-overflow:ellipsis}.table tr:last-child td{border:0}.table tbody tr:hover{background:#fafcf8}.name-button{border:0;background:none;padding:0;color:#2f5140;font-weight:var(--font-weight);font-size:11px;text-align:left;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.name-button:hover{text-decoration:underline}.table td a{color:#4b796b}.table .owner{display:flex;align-items:center;gap:7px;font-size:10px}.table .avatar{width:23px;height:23px;font-size:8px;background:#edf0e7;color:#7b8b6c}.table .amount{font-weight:var(--font-weight);color:#3c5141}.table-note{padding:12px 20px;color:#929d91;font-size:9px;border-top:1px solid var(--line)}.opps-card .table{margin-top:20px}.pipeline-board{display:flex;gap:14px;overflow:auto;padding:20px;align-items:flex-start;min-height:400px}.lane{min-width:240px;max-width:280px;flex:1;background:#f5f8f2;border-radius:8px;padding:13px}.lane-head{display:flex;justify-content:space-between;font-size:11px;padding:3px 2px 12px;border-bottom:2px solid #c6d9b4}.lane small{font-size:10px;color:var(--sub)}.deal{border:1px solid #e1e8dc;background:#fff;margin-top:10px;padding:15px;border-radius:7px;width:100%;text-align:left}.deal b{font-size:11px;line-height:1.5;display:block}.deal p{font-size:10px;color:var(--sub);margin:7px 0 16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deal footer{font-size:10px;display:flex;justify-content:space-between}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:16px 19px;flex-wrap:wrap}.tabs{display:flex;gap:5px}.tab{border:0;background:none;padding:8px 10px;font-size:11px;color:var(--sub);border-radius:6px}.tab.active{background:#edf3e9;color:var(--brand);font-weight:var(--font-weight)}.table-tools{display:flex;align-items:center;gap:9px}.list-search{position:relative}.list-search svg{position:absolute;left:10px;top:10px;width:14px;color:#8a9688}.input{border:1px solid #dfe6dc;border-radius:6px;background:white;color:var(--ink);padding:10px 12px;width:100%;font-size:12px}.list-search .input{padding:9px 12px 9px 32px;width:220px;font-size:11px}.input::placeholder{color:#a0aaa0}.input:focus,select:focus,textarea:focus{outline:2px solid #8daf93;outline-offset:1px}.count-label{font-size:11px;color:var(--sub);margin:0 0 17px}.pager{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--sub);padding:14px 20px;border-top:1px solid var(--line);gap:10px}.pager div{display:flex;align-items:center;gap:12px}.empty{padding:55px 25px;text-align:center;color:var(--sub);font-size:12px}.empty svg{width:32px;height:32px;color:#a9b7a2;margin-bottom:14px}.empty h2{color:var(--ink);margin-bottom:8px}.empty p{line-height:1.7;max-width:460px;margin:auto}.empty .btn{margin-top:20px}.error{color:#9b5547;border:1px solid #efd4ca;background:#fff6ef;padding:14px;border-radius:8px;font-size:12px;line-height:1.6;margin-bottom:16px}.loading{padding:70px 20px;text-align:center;font-size:12px;color:var(--sub)}.report-intro{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:24px}.report-tile{background:white;border:1px solid var(--line);padding:21px;border-radius:10px;text-align:left}.report-tile>svg{width:22px;height:22px;color:var(--brand);margin-bottom:18px}.report-tile h3{font-size:13px;margin-bottom:7px}.report-tile p{font-size:11px;color:var(--sub);line-height:1.6}.report-tile footer{display:flex;align-items:center;justify-content:space-between;color:var(--brand);font-size:10px;margin-top:19px}.dashboard-grid{display:grid;grid-template-columns:1.1fr 1.3fr 1fr;gap:20px;margin-bottom:20px}.dashboard-grid .card{min-height:320px}.distribution-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:12px 0;border-bottom:1px solid var(--line)}.distribution-row:last-child{border:0}.distribution-row span{display:flex;align-items:center;gap:9px}.distribution-row .swatch{width:7px;height:7px;border-radius:2px;background:var(--brand)}.donut{height:135px;width:135px;border-radius:50%;margin:8px auto 15px;position:relative;display:grid;place-items:center}.donut:before{content:"";position:absolute;inset:15px;background:#fff;border-radius:50%}.donut div{position:relative;text-align:center}.donut strong{font-size:25px;font-weight:var(--font-weight)}.donut small{display:block;font-size:9px;color:var(--sub);margin-top:4px}.modal-backdrop{position:fixed;inset:0;background:#18352b55;z-index:100;display:flex;align-items:center;justify-content:center;padding:30px;backdrop-filter:blur(3px)}.modal{max-height:90vh;width:620px;background:white;border-radius:13px;box-shadow:0 25px 90px #12261f40;overflow:auto}.modal.wide{width:1000px}.modal.drawer{height:100vh;max-height:100vh;width:650px;border-radius:14px 0 0 14px;margin-left:auto}.modal-backdrop:has(.drawer){padding:0}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid var(--line);gap:20px}.modal-head p{font-size:11px;color:var(--sub);margin-top:6px}.modal-body{padding:24px}.modal-footer{padding:18px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:#fff;z-index:1}.detail-banner{background:#f3f7ee;border-radius:10px;padding:20px;margin-bottom:22px;display:flex;gap:15px;align-items:center}.detail-banner .avatar{width:46px;height:46px;font-size:14px}.detail-banner h2{font-size:20px}.detail-banner p{margin-top:7px;font-size:11px;color:var(--sub)}.details{display:grid;grid-template-columns:1fr 1fr;gap:22px 25px}.detail-field{min-width:0}.detail-field label{font-size:10px;color:var(--sub);display:block;margin-bottom:8px}.detail-field div{font-size:12px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.detail-field.full{grid-column:1/-1}.field label{font-size:11px;display:block;margin-bottom:8px}.field label .required{color:#a77350}.field textarea{min-height:95px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field.full{grid-column:1/-1}.form-note{font-size:11px;line-height:1.7;color:#77876e;background:#f3f7ee;border-radius:7px;padding:12px 14px;margin-bottom:22px}.field .helper{font-size:10px;color:var(--sub);margin-top:5px}.field select{min-height:38px}.field input[type=checkbox]{width:17px;height:17px;accent-color:var(--brand)}.search-modal{align-self:flex-start;margin-top:80px;width:650px}.search-top{display:flex;align-items:center;gap:15px;padding:20px 24px;border-bottom:1px solid var(--line)}.search-top input{border:0;background:none;outline:none;font-size:15px;flex:1;min-width:0}.search-result{display:flex;gap:12px;align-items:center;background:white;border:0;border-bottom:1px solid var(--line);padding:15px 22px;width:100%;text-align:left;font-size:12px}.search-result>svg{color:#7c9577}.search-result b{display:block;font-size:12px;font-weight:var(--font-weight)}.search-result small{display:block;color:var(--sub);font-size:10px;margin-top:5px}.search-result>svg:last-child{margin-left:auto;width:14px}.create-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.create-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;background:white;padding:18px;font-size:12px}.create-option svg{color:var(--brand)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--dark);color:white;padding:14px 22px;border-radius:9px;font-size:12px;box-shadow:var(--shadow);z-index:120;display:none;max-width:90vw}#toast.visible{display:block}.report-meta{padding:12px 0;font-size:11px;color:var(--sub)}.footnote{font-size:10px;line-height:1.6;color:var(--sub);margin-top:18px}.mobile-shade{display:none}
@media(min-width:1600px){.main{padding:35px 40px}.topbar{padding:0 40px}.home-grid{grid-template-columns:minmax(0,1fr) 320px}.stat{padding:23px}.chart{height:196px}}
@media(max-width:1250px){.sidebar{width:195px;padding:25px 12px 12px}.shell{margin-left:195px}.main{padding:26px 24px}.topbar{padding:0 24px}.home-grid{grid-template-columns:minmax(0,1fr) 250px}.cards-row{grid-template-columns:1fr 1fr;gap:14px}.card-head{padding:17px 16px 0}.card-body{padding:17px 16px}.stat{padding:17px 15px}.stat strong{font-size:26px}.stat .mini-chart{display:none}.focus-card{padding:19px}.focus-card h2{font-size:21px}.global-search{width:220px}.table td,.table th{padding-left:15px;padding-right:15px}.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-grid>.card:last-child{grid-column:1/-1;min-height:0}.dashboard-grid>.card:last-child .card-body{display:grid;grid-template-columns:150px 1fr;gap:30px}}
@media(max-width:1050px){.home-grid{grid-template-columns:1fr}.right-col{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}.right-col .micro-footer{display:none}.focus-card{margin:0}.stats{gap:12px}.stat strong{font-size:24px}.page-heading{gap:14px}.heading-actions .btn:not(.primary){font-size:0}.heading-actions .btn svg{font-size:initial}.report-intro{gap:12px}.report-tile{padding:17px}.page-heading h1{font-size:25px}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:222px}.sidebar.open{transform:none}.mobile-shade.open{display:block;position:fixed;inset:0;background:#12261f55;z-index:19}.shell{margin:0}.menu-toggle{display:grid}.topbar{height:64px;padding:0 18px}.crumb{margin-right:auto}.crumb>span{display:none}.top-actions{gap:10px}.global-search{width:180px}.global-search kbd{display:none}.main{padding:23px 18px}.stats{grid-template-columns:1fr 1fr}.stat strong{font-size:28px}.heading-actions{gap:6px}.heading-actions .select{max-width:130px}.page-heading{align-items:start}.page-heading p{line-height:1.6;max-width:280px}.page-heading .eyebrow{font-size:9px}.table-tools{flex-wrap:wrap}.list-toolbar{padding:12px}.table-tools .select{max-width:160px}.report-intro{grid-template-columns:1fr}.report-tile{display:block}.modal-backdrop{padding:15px}.modal{width:100%}.modal.drawer{width:100%;border-radius:0}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>.card:last-child .card-body{display:block}.search-modal{margin-top:40px}.heading-actions .btn.primary{font-size:0}.heading-actions .btn.primary svg{width:18px;height:18px}.right-col{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.global-search{width:35px;height:35px;padding:8px}.global-search span{display:none}.shell:not(.setup-shell) .top-actions>.header-profile{display:none}.crumb{gap:5px}.cards-row,.right-col{grid-template-columns:1fr}.page-heading{margin-bottom:20px}.page-heading h1{font-size:23px}.heading-actions{padding-top:18px;flex-wrap:wrap;justify-content:end}.heading-actions .select{max-width:110px;padding-right:18px}.stats{gap:10px}.stat{padding:16px}.stat-top{font-size:10px}.stat strong{font-size:24px}.stat-bottom{font-size:9px}.data-strip{font-size:9px}.form-grid,.details{grid-template-columns:1fr}.field.full,.detail-field.full{grid-column:1}.table-tools{width:100%}.list-search{flex:1;min-width:160px}.list-search .input{width:100%}.table-tools .select{max-width:130px}.modal-head,.modal-body{padding:20px}.modal-head h2{font-size:17px}.modal-footer{padding:16px}.report-intro{gap:10px}.pager{padding:12px;font-size:9px}.pager div{gap:7px}.btn{padding:9px 11px}.home-grid{gap:15px}.chart{height:190px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.table th button:disabled{opacity:1;cursor:default}
.home-grid>div,.cards-row>*{min-width:0}
@media(max-width:560px){.page-heading{flex-direction:column;gap:13px}.heading-actions{padding-top:0;flex-wrap:nowrap;justify-content:flex-start}.heading-actions .btn.primary{font-size:11px}.heading-actions .select{max-width:160px}.page-heading p{max-width:none}.data-strip{gap:15px}.data-strip>span{flex-wrap:wrap}.home-grid{grid-template-columns:minmax(0,1fr)}.cards-row{grid-template-columns:minmax(0,1fr)}}

/* Connected record workspace */
.sidebar{overflow-y:auto}.sidebar-bottom{padding-top:12px}.connected-card{margin-top:12px}.nav-link{height:39px}.workspace{margin-bottom:18px}
.modal.drawer.record-workspace{width:min(1100px,94vw)}.record-heading{padding:22px 24px}.record-heading>.btn{margin-bottom:14px}.record-heading .detail-banner{margin-bottom:14px}.record-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.record-tabs{display:flex;gap:10px;padding:12px 24px;border-block:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:2}.record-tabs .tab{font-size:13px;min-width:95px}
.record-tabs:has([data-record-tab="value-calculator"]){overflow-x:auto}.record-tabs .tab span{background:#dce9d5;border-radius:9px;padding:2px 6px;font-size:10px;margin-left:5px}.record-content{background:#f7f9f5;min-height:350px}.record-content>.details{background:#fff;padding:22px;border:1px solid var(--line);border-radius:10px}.relationship-chips{display:flex;gap:12px;flex-wrap:wrap}.relationship-chips>div{display:flex;flex-direction:column;gap:6px;padding:9px 13px;border:1px solid var(--line);border-radius:7px;max-width:290px}.relationship-chips span{font-size:10px;color:var(--sub)}.section-intro{margin-bottom:20px}.section-intro p{font-size:11px;color:var(--sub);line-height:1.6;margin-top:6px}.related-card{border:1px solid var(--line);border-radius:9px;background:#fff;margin-bottom:14px;overflow:hidden}.related-card>summary{padding:17px 18px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none}.related-card>summary::-webkit-details-marker{display:none}.related-card>summary>span{display:flex;gap:10px;align-items:center;font-size:13px}.related-card>summary>span>.icon{color:var(--brand);width:17px}.related-card>summary>.icon{width:14px}.related-card[open]>summary{border-bottom:1px solid var(--line)}.related-card[open]>summary>.icon{transform:rotate(180deg)}.relation-count{font-size:10px;border-radius:10px;background:#eff4eb;padding:3px 7px;color:var(--brand)}.relation-count:empty{display:none}.related-tools{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;font-size:11px;color:var(--sub)}.related-empty{padding:20px;font-size:12px;color:var(--sub)}.related-message{padding:20px;font-size:12px;line-height:1.7}.related-message p{margin-bottom:14px}.related-message .btn{margin-right:8px}.related-content .loading{padding:25px}.related-content .table th{font-size:10px}.related-content .table td{font-size:12px}.task-row{border:0;border-bottom:1px solid var(--line);background:none;width:100%;text-align:left}.name-button>.icon{width:12px;height:12px}.record-content .name-button{white-space:normal}.record-heading .detail-banner h2{overflow-wrap:anywhere}
@media(max-width:800px){.modal.drawer.record-workspace{width:100vw}.record-heading{padding:20px}.record-tabs{padding:10px 20px}.record-content{padding:18px}.relationship-chips>div{max-width:100%}.related-card .table td,.related-card .table th{padding:12px}.record-actions .btn{flex:1}}
.stat-bottom{display:block;line-height:1.5}

.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:24px;padding:24px}.product-card{border:1px solid #e3e8e7;border-radius:12px;overflow:hidden;min-width:0;background:white}.product-photo{width:100%;height:230px;background:#eef2ed;border:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.product-photo img{width:100%;height:100%;object-fit:cover;object-position:center 40%}.product-photo>span .icon{width:68px;height:68px;stroke:#82998e}.product-card-body{padding:22px}.product-kicker{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#658173;gap:8px}.product-card h2{margin:17px 0 12px}.product-card h2 button{font-size:19px;line-height:1.4;text-align:left}.product-card p{font-size:12px;color:#687b72;line-height:1.65;min-height:80px}.product-price{font-size:13px;font-weight:var(--font-weight);display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin:20px 0}.product-price span{font-size:11px;font-weight:var(--font-weight);color:#687b72}.product-card-actions{display:flex;flex-wrap:wrap;gap:9px}.product-record-media{display:grid;grid-template-columns:160px 1fr;gap:20px;background:#f5f7f4;padding:16px;border-radius:10px;margin-top:16px}.product-record-media img{width:160px;height:180px;object-fit:cover;border-radius:6px}.product-record-media p{line-height:1.6;font-size:13px;color:#60756a}.product-record-media small{font-size:10px;color:#77867e;overflow-wrap:anywhere}.configuration-row{padding:16px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e6ebe7;margin-bottom:12px}.related-content .configuration-row{padding-inline:18px}.configuration-row h3{font-size:15px;margin:0 0 8px}.configuration-row p{font-size:12px;color:#657b6d;margin:7px 0}.configuration-row .btn{flex-shrink:0}@media(max-width:700px){.product-grid{padding:14px;gap:16px;grid-template-columns:1fr}.product-photo{height:250px}.product-record-media{grid-template-columns:1fr}.product-record-media img{width:100%;height:220px}.configuration-row{align-items:flex-start;flex-direction:column}}

.modal.wide.report-modal{width:1440px;max-width:100%}

/* Access settings and file library use the existing workspace components. */
.access-form{display:grid;gap:14px;padding:24px;max-width:760px}.access-form label{display:grid;gap:7px;font-size:13px}.access-form label:has(input[type=checkbox]){display:flex;align-items:center}.access-form h2,.access-form h3,.access-form p{margin:0}.access-form p{color:var(--muted);font-size:13px;line-height:1.6}.access-form .btn{justify-self:start}.access-form+.access-form{border-top:1px solid #e7edf3}.access-form select{max-width:100%;width:100%}.access-form input[type=file]{padding:10px}.form-note+.card{margin-top:20px}

.saferack-review{margin-top:18px;padding:16px 18px;border:1px solid #d8bd70;border-radius:9px;background:#fff9e8;color:#503b0d;font-size:13px;line-height:1.6}.saferack-review strong{display:block;font-size:14px}.saferack-review p{margin-top:6px;overflow-wrap:anywhere}

.saferack-attribution{max-width:100%;color:var(--text)}.attribution-summary{padding:18px;background:#fff;border:1px solid var(--line);border-radius:9px}.attribution-summary h3,.attribution-section h3{font-size:16px}.attribution-summary p{font-size:13px;line-height:1.6;margin-top:8px}.saferack-attribution dl{margin:12px 0 0}.saferack-attribution dl>div{margin-top:12px}.saferack-attribution dt{color:var(--sub);font-size:11px}.saferack-attribution dd{margin:4px 0 0;font-size:13px;overflow-wrap:anywhere}.attribution-section{margin-top:24px}.attribution-table-wrap{overflow-x:auto;margin-top:12px;border:1px solid var(--line);border-radius:9px}.attribution-table{width:100%;table-layout:fixed;border-collapse:collapse;background:#fff;min-width:570px;text-align:left}.attribution-table th,.attribution-table td{padding:12px;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-size:12px;line-height:1.5}.attribution-table th{font-weight:500}.attribution-table thead{background:#eef3e9}.attribution-table th small{display:block;color:var(--sub);font-weight:400}.attribution-table code{font-size:11px;white-space:normal}.attribution-touches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.attribution-touches article{padding:16px;background:#fff;border:1px solid var(--line);border-radius:9px}.attribution-touches h4{font-size:13px}.attribution-capture{margin-top:24px;border-top:1px solid var(--line);padding-top:16px;font-size:13px}.attribution-capture summary{cursor:pointer}.attribution-empty{font-size:13px;line-height:1.6;margin-top:18px;color:var(--sub)}@media(max-width:700px){.attribution-touches{grid-template-columns:1fr}}

.attribution-device{margin-bottom:18px}.attribution-device dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 22px}@media(max-width:650px){.attribution-device dl{grid-template-columns:1fr}}

.badge.quality-spam{display:inline-flex;align-items:center;gap:4px;background:#fdecec;color:#a32835}
.quality-spam-icon{width:12px;height:12px;flex:0 0 12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Header controls use the same private profile photo as Home. */
.icon-button.setup-entry{border:0;background:transparent;box-shadow:none}
.icon-button.setup-entry:hover{background:var(--surface-soft,#f0f4ef)}
.header-profile{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:transparent;flex:none}
.profile-avatar{overflow:hidden}
.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}

.website-form-details{margin-top:24px;display:grid;gap:16px}.website-form-details .setup-panel{display:grid;gap:16px}.website-form-details .details{padding:16px 0}
