@charset "UTF-8";
:root{--navy:#142f37;--navy-deep:#10282f;--green:#1c6b52;--green-dark:#16533f;--mint:#d9eee2;--ink:#243c43;--muted:#77848a;--line:#e3e8e5;--paper:#f6f8f6;--warm:#aa6734;--radius:12px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}svg{width:19px;height:19px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.3;letter-spacing:-1px;font-weight:650}h2{font-size:16px;font-weight:650;letter-spacing:-.3px}h3{font-size:14px;line-height:1.5;font-weight:650}p{line-height:1.7}small{font-size:12px}input,select,textarea{background:white;border:1px solid #dbe2de;border-radius:7px;padding:11px 12px;color:var(--ink);min-width:0;width:100%;outline:none}textarea{resize:vertical;line-height:1.6}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #1c6b5214}button:focus-visible,a:focus-visible{outline:3px solid #4eac8f;outline-offset:3px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}label input,label select,label textarea{font-size:14px;font-weight:400}select{cursor:pointer}label+label{margin-top:16px}.muted{color:var(--muted)}.warm-text{color:var(--warm)!important}.eyebrow{color:#6c827b;font-size:10px;letter-spacing:1.6px;font-weight:700;margin-bottom:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;padding:11px 16px;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;min-height:40px;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn.primary{color:#fff;background:var(--green)}.btn.primary:hover{background:var(--green-dark)}.btn.secondary{background:white;border-color:#dce3de;color:var(--ink)}.btn.secondary:hover{background:#f0f4f1}.btn.small{font-size:11px;padding:8px 11px;min-height:34px}.btn.small svg{width:15px;height:15px}.btn.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;border:0;background:transparent;border-radius:6px;color:var(--muted);padding:6px}.icon-button:hover,.icon-button.selected{background:#e9eeea;color:var(--ink)}.icon-button.small{width:25px;height:25px}.icon-button.small svg{width:16px;height:16px}.text-button{border:0;background:transparent;color:var(--green);font-weight:600;font-size:11px;display:inline-flex;align-items:center;gap:6px;padding:6px 0}.text-button svg{width:14px;height:14px}.badge{display:inline-flex;align-items:center;padding:5px 9px;background:#f0f3f0;color:#657a70;font-size:10px;font-weight:600;border-radius:5px;line-height:1.3;white-space:nowrap}.badge.new{background:#edf0ed;color:#6d7973}.badge.conversation{background:#e7eef8;color:#597392}.badge.quoted,.badge.test_captured{background:#f8efdd;color:#987a3d}.badge.pending{background:#e7eee5;color:#648451}.badge.accepted,.badge.won{background:#deefe5;color:#377f58}.badge.lost{background:#f6e4e1;color:#ac6e62}.badge.draft{background:#eef1f3;color:#76848d}.avatar{width:34px;height:34px;background:#c5dbcf;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#355c4c;font-size:11px;font-weight:600;flex-shrink:0}.avatar.tiny{width:23px;height:23px;font-size:8px}.tone-1{background:#d7e6ee;color:#587e96}.tone-2{background:#e4dfef;color:#796694}.tone-0{background:#f0e2d1;color:#9b8057}.app-shell{display:flex;min-height:100vh}.sidebar{width:225px;flex:0 0 225px;background:var(--navy);color:#abc0c1;position:fixed;top:0;bottom:0;left:0;padding:31px 18px 18px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:10px;color:white;padding:0 7px;font-size:22px;font-weight:700;letter-spacing:-.8px;line-height:1.15}.brand-light{font-weight:350}.brand small{display:block;font-size:7px;letter-spacing:2.4px;font-weight:500;color:#91a9a9;margin-top:7px}.brand-mark{font-size:34px;font-weight:800;font-style:italic;letter-spacing:-10px;padding-right:9px;color:#b7e2c9}.brand-mark>span{color:white}.nav-caption{font-size:8px;letter-spacing:1.4px;margin:51px 14px 15px;font-weight:650;color:#6b898c}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 14px;font-size:12px;font-weight:500;border-radius:7px;color:#abc0c1;position:relative}.nav-item.active{background:#29474d;color:#d9f2e4}.nav-item.active:before{content:"";position:absolute;width:3px;background:#9dd3b4;left:-18px;top:13px;bottom:13px;border-radius:0 4px 4px 0}.nav-item:hover{background:#25434a}.nav-item svg{width:17px;height:17px}.nav-count{background:#456157;padding:2px 6px;border-radius:4px;margin-left:auto;color:#cae5d6;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:50px}.environment-card{border:1px solid #3d5658;background:#1b3940;padding:14px;border-radius:8px;margin:21px 4px;color:#b5c9c5;font-size:10px}.environment-card strong{font-weight:550}.environment-card p{font-size:10px;color:#7f9b9d;margin:8px 0 0 13px;line-height:1.7}.live-dot,.local-label i{display:inline-block;width:5px;height:5px;background:#9acaac;border-radius:50%;margin-right:7px}.profile{border-top:1px solid #365057;padding:19px 3px 0;display:flex;gap:9px;align-items:center}.profile>span:nth-child(2){flex:1}.profile strong{font-size:11px;color:#e6eeeb;display:block;font-weight:500}.profile small{font-size:9px;color:#86a1a1;display:block;margin-top:5px}.profile .icon-button{color:#779a9b;width:26px}.profile .avatar{background:#45665f;color:#c4e5cf;width:30px;height:30px}.workspace{margin-left:225px;width:calc(100% - 225px);min-width:0;display:flex;flex-direction:column}.topbar{height:73px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:12px}.breadcrumb{font-size:11px;color:#9ca5a4;display:flex;gap:14px}.breadcrumb strong{font-weight:500;color:#5e736c}.breadcrumb>span{color:#cbd2cd}.topbar-right{display:flex;gap:22px;align-items:center}.today-label{font-size:11px;color:#89968f}.test-chip{display:flex;align-items:center;gap:6px;border:1px solid #e3e8e2;background:#fafcf9;font-size:9px;border-radius:5px;padding:6px 8px;color:#7a8c7f}.test-chip svg{width:12px;height:12px}.mobile-menu{display:none}#content{padding:33px 35px 24px;flex:1;min-width:0}.page-heading,.detail-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:29px}.page-heading p,.detail-heading p{color:#86928b;font-size:12px;margin-top:9px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:31px}.metric{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:19px 18px;min-height:129px}.metric-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#73817a;margin-bottom:17px}.metric-top svg{width:16px;height:16px;color:#8ca197}.metric>strong{font-size:26px;font-weight:600;letter-spacing:-.8px;display:block;line-height:1.2}.metric>strong span{font-size:10px;letter-spacing:0;font-weight:400;margin-left:8px;color:#8b978f}.metric>small{display:block;font-size:9px;color:#8c978f;margin-top:12px;line-height:1.5}.pipeline-panel{min-width:0}.section-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.segmented{display:flex;gap:5px;border:1px solid var(--line);padding:4px;background:#eef2ee;border-radius:7px}.segmented button{border:0;border-radius:5px;padding:8px 13px;font-size:10px;font-weight:550;background:transparent;color:#7a8980}.segmented button.active{color:#3b5f4e;background:white;box-shadow:0 1px 4px #162d2210}.toolbar-end{display:flex;gap:4px;align-items:center}.view-label{color:#9aa49e;font-size:10px;margin-right:9px}.filters{display:flex;gap:9px;align-items:center;margin-bottom:25px}.search-box{display:flex;flex-direction:row;gap:9px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:7px;padding:0 12px;flex:1;max-width:340px;min-width:170px}.search-box svg{color:#8f9f95;width:16px;height:16px}.search-box input{border:0;box-shadow:none;padding:10px 0;font-size:11px}.filters select{width:auto;max-width:210px;background:#f9fbf8;font-size:10px;color:#75877b;padding:10px 26px 10px 11px;min-width:0}.kanban{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;align-items:start}.kanban.single-column{grid-template-columns:minmax(250px,350px)}.kanban-column{background:#edf1ec;border-radius:9px;padding:13px 10px 10px;min-width:0}.column-header{display:flex;align-items:center;gap:7px;padding:0 3px}.column-header h2{font-size:11px;font-weight:600}.stage-dot{width:6px;height:6px;background:#8f9a91;border-radius:50%}.stage-dot.conversation{background:#839eb7}.stage-dot.quoted{background:#c6a369}.stage-dot.pending{background:#8da380}.column-count{font-size:9px;font-weight:600;background:#e1e7df;color:#82927f;border-radius:4px;padding:2px 5px}.column-header .icon-button{margin-left:auto}.column-total{color:#94a08f;font-size:10px;margin:10px 3px 17px}.cards{display:flex;flex-direction:column;gap:11px}.opportunity-card{display:block;background:white;border:1px solid #e0e6de;border-radius:8px;padding:14px 13px 0;box-shadow:0 2px 3px #24362904;transition:box-shadow .2s,transform .2s}.opportunity-card:hover{box-shadow:0 5px 14px #2436290f;transform:translateY(-2px);border-color:#bdcfc0}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.source-tag{font-size:8px;padding:4px 6px;background:#f4f5f1;border-radius:4px;color:#84917c}.card-number{font-size:8px;color:#b1b9af}.opportunity-card h3{font-size:12px;font-weight:600;line-height:1.65;color:#3a5047}.company{font-size:10px;color:#99a194;margin:5px 0 17px}.card-value{font-size:18px;letter-spacing:-.4px;font-weight:600;color:#3f5749;margin-bottom:12px}.amount-empty{font-size:13px;font-weight:400;letter-spacing:0}.card-date{display:flex;align-items:center;gap:6px;font-size:10px;color:#95a08f}.card-date svg{width:12px;height:12px}.card-followup{margin-top:15px;padding-bottom:13px}.task-hint{display:flex;position:relative;font-size:9px;line-height:1.6;align-items:flex-start;gap:5px;color:#7b927c;padding:9px 7px;background:#f4f7f1;border-radius:5px;flex-wrap:wrap}.task-hint>svg{width:12px;height:12px;margin-top:2px}.task-hint small{font-size:8px;width:100%;padding-left:17px;color:#a2ac9b}.task-hint.overdue{color:#ac7d52;background:#fcf5e9}.task-hint.overdue small{color:#bb9876}.task-hint.muted{background:#f7f7f4;color:#a5aa9e}.card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef0ea;padding:10px 0;color:#9ca99b}.card-footer>span{display:flex;align-items:center;gap:6px;font-size:9px}.card-footer>svg{width:13px;height:13px}.column-empty{padding:25px 5px;color:#a2ae9e;font-size:10px;text-align:center;border:1px dashed #dbe3d8;border-radius:6px}.board-bottom{display:flex;justify-content:space-between;font-size:9px;color:#a1aa9b;padding:20px 2px 0;gap:12px}.quiet-note{display:flex;align-items:flex-start;gap:7px;color:#98a28f;font-size:10px;margin-top:25px;line-height:1.7}.quiet-note svg{width:13px;height:13px;min-width:13px;margin-top:2px}.app-footer{padding:14px 35px 20px;font-size:9px;color:#9da99b;display:flex;align-items:center;gap:9px}.footer-right{margin-left:auto}.opportunity-list{border:1px solid var(--line);background:white;border-radius:10px;overflow:hidden}.opportunity-row{display:flex;align-items:center;gap:20px;padding:19px;border-bottom:1px solid var(--line)}.opportunity-row:last-child{border:0}.opportunity-row:hover{background:#f9fbf8}.opportunity-row>span:first-child{flex:1;min-width:0}.opportunity-row strong{font-size:12px}.opportunity-row small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.row-date{font-size:10px;color:var(--muted)}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:18px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.panel-heading h2{display:flex;align-items:center;gap:8px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:6px}.panel-heading>svg{color:#a0b2a7}.count-pill{display:inline-block;background:#eef2ed;color:#879781;font-size:10px;border-radius:4px;padding:3px 6px;margin-left:5px}.count-pill.overdue{background:#fcf0e0;color:#b28657}.inline-empty{font-size:12px;color:#9aa697;padding:7px 0;line-height:1.7}.empty-state{padding:65px 25px;text-align:center;color:#92a08f}.empty-state>svg{width:30px;height:30px;color:#a6b9a7;margin-bottom:15px}.empty-state h3{font-size:16px;color:#5a7462;margin-bottom:8px}.empty-state p{font-size:12px;max-width:420px;margin:auto}.day-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px}.task-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid #eef0eb}.task-row>a{flex:1;min-width:0}.task-row>a strong{font-size:12px;font-weight:550}.task-row small{display:block;font-size:10px;color:#99a291;margin-top:5px}.task-row>span{font-size:10px;white-space:nowrap}.complete-circle{width:23px;height:23px;border:1.5px solid #d7e1d3;background:#fff;color:transparent;border-radius:50%;padding:2px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.complete-circle:hover{color:var(--green);border-color:var(--green)}.complete-circle>svg{width:14px;height:14px}.focus-card{background:#e3ede1;border-radius:12px;padding:27px;margin-bottom:20px;color:#516e54;position:relative}.focus-card h2{font-size:23px;line-height:1.5;letter-spacing:-.7px}.focus-card p{font-size:11px;color:#82987c;margin-top:15px}.focus-card>svg{width:32px;height:32px;color:#a7bd9c;margin-top:20px}.compact-opportunity{display:block;padding:15px 0;border-top:1px solid #edf1ea}.compact-opportunity strong{font-size:12px;line-height:1.7;font-weight:550}.compact-opportunity small{display:flex;align-items:center;justify-content:space-between;color:#97a48f;font-size:10px;margin-top:7px}.compact-opportunity svg{width:14px;height:14px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.section-title>span{font-size:10px}.quote-list-row{display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);padding:22px 0}.quote-list-row>a:first-child{flex:1}.quote-code{display:block;font-size:10px;color:#81947e;margin-bottom:7px}.quote-list-row h3{font-size:14px;font-weight:550;margin-bottom:5px}.quote-list-row small{font-size:10px;color:var(--muted)}.quote-list-row>div{display:flex;flex-direction:column;gap:10px;align-items:flex-end}.quote-list-row>div strong{font-size:17px;font-weight:600}.client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.client-card{margin:0}.client-icon{display:flex;align-items:center;justify-content:center;background:#ecf2e8;border-radius:10px;color:#7e9972;font-size:15px;width:46px;height:46px;margin-bottom:18px}.client-card>p{font-size:12px;color:#8d9c85;margin-top:6px}.contact-line{display:flex;align-items:center;gap:6px;font-size:10px;color:#97a38f;margin-top:15px;overflow-wrap:anywhere}.contact-line svg{width:13px;height:13px}.client-opportunities{border-top:1px solid var(--line);margin-top:22px;padding-top:13px}.client-opportunities a{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px;line-height:1.6;color:#718768}.client-opportunities svg{width:14px;height:14px}.back-link{display:inline-flex;gap:7px;align-items:center;font-size:11px;color:#84917c;margin-bottom:23px}.back-link svg{width:14px;height:14px}.detail-heading h1{font-size:26px}.detail-heading p>span{padding:0 7px;color:#c1cbbb}.detail-heading{margin-bottom:23px}.status-strip{display:flex;align-items:center;gap:40px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 23px;margin-bottom:27px}.status-strip small{display:block;color:#8e9b85;font-size:10px;margin-bottom:8px}.status-value{color:#899580;font-size:12px}.status-amount{margin-left:auto;text-align:right}.status-amount strong{font-size:23px;font-weight:600;letter-spacing:-.5px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:22px;align-items:start}.detail-tabs{display:flex;border-bottom:1px solid #dce4d7;margin-bottom:21px;gap:23px;overflow-x:auto}.detail-tabs button{white-space:nowrap;position:relative;border:0;background:none;padding:0 0 15px;color:#9ba48f;font-size:11px}.detail-tabs button.active{color:#446749;font-weight:600}.detail-tabs button.active:after{content:"";position:absolute;height:2px;background:#4f7951;bottom:0;left:0;right:0}.detail-tabs button>span{background:#e7ece3;padding:1px 5px;border-radius:3px;font-size:9px;margin-left:4px}.mobile-history{display:none}.data-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px 25px;margin:0}.data-grid dt{font-size:10px;color:#9aa58f;margin-bottom:7px}.data-grid dd{font-size:12px;line-height:1.7;margin:0;overflow-wrap:anywhere}.description-block{border-top:1px solid #edf0e9;margin-top:24px;padding-top:19px}.description-block h3{font-size:11px;color:#86967a;font-weight:500}.description-block p{font-size:12px;color:#6b7c60;margin-top:9px;white-space:pre-wrap}.attribution{display:flex;flex-direction:column;gap:7px;background:#f6f8f3;border-radius:6px;padding:12px;margin-top:19px}.attribution>span{font-size:10px;color:#809570;display:flex;gap:6px;align-items:center}.attribution svg{width:13px;height:13px}.attribution small{font-size:9px;color:#9ba88c;overflow-wrap:anywhere}.detail-task{display:flex;align-items:center;gap:10px;padding:13px 0;border-top:1px solid #edf0e9}.detail-task>span{color:#9faf91}.detail-task>span svg{width:15px;height:15px}.detail-task>div{flex:1}.detail-task strong{font-size:11px;font-weight:550}.detail-task small{font-size:9px;color:#9aa68d;display:block;margin-top:6px}.detail-task.completed{opacity:.6}.detail-task.completed strong{text-decoration:line-through}.reservation-note{background:#f0f4ed;border-color:#dce6d5}.reservation-note h2{color:#799269;font-size:13px}.reservation-note p{font-size:11px;color:#92a082}.reservation-note small{display:block;font-size:10px;margin-top:13px;color:#9daa8f}.history-panel{padding:20px 18px}.history-panel .panel-heading{margin-bottom:9px}.history-panel h2{font-size:14px}.history-subtitle{font-size:10px;color:#9caa90;margin-bottom:20px}.history-composer{border:1px solid #e4e9de;border-radius:7px;overflow:hidden}.composer-label{color:#9c8b56;background:#faf7ed;font-size:8px;font-weight:600;letter-spacing:.7px;display:flex;align-items:center;gap:5px;padding:10px 12px}.composer-label svg{width:11px;height:11px}.history-composer form{padding:0 12px 12px}.history-composer textarea{border:0;padding:13px 0;font-size:11px;min-height:80px;resize:vertical;box-shadow:none}.history-composer form>div{display:flex;justify-content:space-between;align-items:center;gap:9px}.history-composer small{font-size:8px;color:#a2ad94}.history-composer .btn{font-size:9px;padding:7px 10px;min-height:30px}.compose-mail-button{display:flex;align-items:center;gap:7px;width:100%;border:0;border-top:1px solid #edf0e8;background:#fafcf7;font-size:10px;color:#899e7b;padding:13px 11px;text-align:left}.compose-mail-button>svg{width:13px;height:13px}.compose-mail-button>svg:last-child{margin-left:auto}.history-filters{display:flex;gap:20px;margin:23px 0 8px;border-bottom:1px solid #ecf0e6}.history-filters button{border:0;background:none;font-size:10px;color:#9aaa8f;padding:0 0 10px;position:relative}.history-filters button.active{color:#5e8050;font-weight:600}.history-filters button.active:after{content:"";position:absolute;background:#719862;height:2px;bottom:0;left:0;right:0}.timeline-entry{display:flex;gap:11px;padding:20px 0;border-bottom:1px solid #f0f2ec;align-items:flex-start}.timeline-entry:last-child{border:0}.timeline-icon{background:#f2f5ee;border:1px solid #e9eee1;width:27px;height:27px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#94aa80}.timeline-icon svg{width:12px;height:12px}.timeline-entry.internal_note .timeline-icon{background:#fcf6e7;color:#bba46c;border-color:#f5edd8}.timeline-entry.email_test .timeline-icon{background:#eef3f7;color:#91a6b6;border-color:#e0e8ee}.timeline-entry>div{flex:1;min-width:0}.timeline-meta{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-bottom:5px}.timeline-meta strong{font-size:10px;font-weight:600;color:#7b8d6b}.timeline-meta time{font-size:8px;color:#adb99d;white-space:nowrap}.entry-type{font-size:8px;color:#a7b393}.timeline-entry p{font-size:10px;line-height:1.8;color:#8b9b7a;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:7px}.quote-intro{margin-bottom:20px}.quote-intro h2{font-size:15px}.quote-intro p{font-size:11px;color:#93a184;margin-top:8px;margin-bottom:14px}.detail-quote .panel-heading h2{font-size:15px;margin-top:3px}.quote-period{display:flex;align-items:center;gap:6px;font-size:10px;color:#95a388;flex-wrap:wrap;line-height:1.8}.quote-period svg{width:13px;height:13px}.quote-period>span{margin-left:auto}.quote-lines{margin-top:20px}.quote-lines>div{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #edf1e7;padding:13px 0;font-size:11px}.quote-lines small{display:block;color:#a3af94;font-size:9px;margin-top:5px}.quote-lines strong{font-weight:550;white-space:nowrap}.quote-totals{border-top:1px solid #e5ecdc;padding:16px 0;display:flex;gap:20px;align-items:center;justify-content:space-between}.quote-totals>span{font-size:10px;color:#a1ac92}.quote-totals strong{font-size:20px;letter-spacing:-.4px}.quote-actions{display:flex;gap:7px;flex-wrap:wrap}.detail-quote.chosen{border-color:#95b785}.selected-proposal{display:flex;align-items:center;gap:6px;background:#edf6e7;padding:10px;color:#799c60;font-size:10px;margin-bottom:15px;border-radius:5px}.selected-proposal svg{width:13px;height:13px}.acceptance-evidence{background:#f8faf4;border-radius:5px;margin-top:18px;padding:12px;color:#93a180;font-size:10px}.acceptance-evidence p{margin-top:5px;white-space:pre-wrap}.captured-mail p{font-size:12px;white-space:pre-wrap;margin-top:20px;overflow-wrap:anywhere}.captured-mail>small{font-size:10px;color:#94a484}.attachment{display:flex;align-items:center;gap:9px;padding:13px;background:#f0f5ea;border:1px solid #e0e9d6;border-radius:6px;color:#789b60;font-size:11px;margin-top:18px}.attachment svg{width:16px;height:16px}.notice{display:flex;gap:9px;align-items:flex-start;padding:14px 16px;background:#f8f2e4;border:1px solid #efe4cb;border-radius:7px;color:#a68c54;font-size:11px;line-height:1.7;margin-bottom:20px}.notice svg{width:15px;height:15px;margin-top:2px}.notice.subtle{background:#f1f6ed;border-color:#e0e9d7;color:#879e72}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;align-items:start}.settings-grid>.panel{margin:0}.user-row{display:flex;align-items:center;gap:11px;padding:16px 0;border-top:1px solid #edf1e7}.user-row>span:nth-child(2){flex:1;min-width:0}.user-row strong{font-size:12px;display:block;font-weight:550}.user-row small{font-size:9px;display:block;color:#9daa8e;overflow-wrap:anywhere;margin-top:5px}.settings-grid form h3{margin-top:24px;margin-bottom:15px}.settings-grid form .btn{margin-top:20px}.settings-connections{grid-column:1/-1}.settings-connections h2{margin-bottom:25px}.roadmap{max-width:850px}.roadmap-step{display:flex;align-items:flex-start;gap:25px;padding:26px}.step-number{font-size:24px;font-weight:350;color:#c6d3bc;line-height:1}.roadmap-step .eyebrow{font-size:8px;margin-bottom:7px}.roadmap-step h2{font-size:18px;margin-bottom:9px}.roadmap-step p{font-size:12px;color:#96a787}.roadmap-step>svg{margin-left:auto;color:#b4c7a6;min-width:18px}.roadmap-step.ready{border-color:#9ab789;background:#f9fcf6}.loading{display:flex;justify-content:center;align-items:center;min-height:60vh;color:#99a58b;font-size:13px}dialog{border:1px solid #dce5d3;border-radius:14px;box-shadow:0 25px 100px #0e2a2840;padding:26px;max-height:90vh;width:min(490px,calc(100% - 30px));color:var(--ink);background:white}dialog.wide{width:min(850px,calc(100% - 30px))}dialog::backdrop{background:#162d37a1;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:23px}.modal-heading h2{font-size:19px;font-weight:600}.modal-heading>.icon-button{margin-right:-7px}.modal-heading~form label{font-size:11px;color:#6f8561}.modal-heading~form input,.modal-heading~form textarea,.modal-heading~form select{font-size:12px}.modal-heading~form>p{font-size:12px;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label+label{margin:0}.span-2{grid-column:1/-1}.field-help{font-size:10px!important;color:#97a787;line-height:1.7;margin:10px 0 18px}.form-grid .field-help{margin:0}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:27px;border-top:1px solid #e8eedf;padding-top:20px}.attribution-fields{margin-top:20px;font-size:11px;color:#90a27e}.attribution-fields summary{cursor:pointer}.attribution-fields .form-grid{margin-top:17px}.quote-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:27px 0 15px}.quote-editor-heading h3{font-size:12px}.quote-editor-heading>span{font-size:9px;color:#a1b08e}.editor-line{display:grid;grid-template-columns:minmax(160px,2fr) .55fr .55fr 1fr .7fr 26px;gap:9px;align-items:end;border:1px solid #e6eddd;border-radius:8px;padding:13px 11px;margin-bottom:12px}.editor-line label{font-size:9px!important;gap:6px}.editor-line label+label{margin-top:0}.editor-line input,.editor-line select{padding:9px 7px;font-size:11px!important}.remove-line{width:26px;margin-bottom:3px;color:#b1b69e}.remove-line svg{width:15px;height:15px}#quote-editor-totals{display:flex;justify-content:flex-end;gap:25px;border-top:1px solid #e5eddb;padding:20px 0;margin-top:24px;margin-bottom:10px}#quote-editor-totals span{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#9eb08b}#quote-editor-totals strong{font-size:18px;color:#607c4d;font-weight:550}.form-error{color:#a55c43;background:#fcf0e9;font-size:11px;line-height:1.7;border-radius:6px;margin:15px 0;padding:12px}.form-error:empty{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);z-index:100;background:var(--navy);color:#eaf3e7;border:1px solid #536f5a;padding:14px 22px;border-radius:9px;box-shadow:0 5px 30px #15342a30;font-size:12px;max-width:calc(100% - 30px);opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#805748;border-color:#ab806f}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-brand{background:var(--navy);color:#eef5ef;padding:50px 65px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-brand:after{content:"";position:absolute;width:500px;height:500px;border-radius:50%;border:1px solid #3d605e;right:-330px;bottom:-180px;box-shadow:0 0 0 65px #2e4e4d40,0 0 0 130px #2e4e4d20;pointer-events:none}.login-brand .eyebrow{color:#84aa9b;font-size:9px;letter-spacing:1.7px}.login-brand h1{font-size:44px;line-height:1.3;letter-spacing:-1.3px;font-weight:500}.login-brand>div>p{max-width:340px;font-size:13px;color:#9bbab0;margin-top:22px;line-height:1.8}.login-footer{font-size:10px;color:#769c90;z-index:1}.login-graphic{margin-top:50px;display:flex;gap:28px;position:relative}.login-graphic span{display:flex;flex-direction:column;align-items:center;gap:13px;color:#98baab;font-size:10px;z-index:1}.login-graphic svg{width:42px;height:42px;background:#284a4a;border:1px solid #507269;padding:11px;border-radius:12px;color:#b2dac3}.graphic-line{position:absolute;top:21px;left:30px;width:190px;border-bottom:1px dashed #6e8e7b}.login-form-area{display:flex;align-items:center;justify-content:center;padding:50px 35px;background:#f7f9f4}.login-form-card{width:350px;max-width:100%}.local-label{font-size:8px;letter-spacing:1.2px;display:block;color:#93a87c;margin-bottom:26px;font-weight:650}.local-label i{background:#97b47d}.login-form-card h2{font-size:26px;letter-spacing:-.8px;font-weight:600}.login-form-card>p{font-size:12px;margin-top:12px;margin-bottom:30px}.login-form-card .btn{margin-top:24px}.login-form-card .btn svg{margin-left:auto;width:17px;height:17px}.login-form-card label{font-size:11px;color:#7b9068}.demo-access{margin-top:32px;padding-top:24px;border-top:1px solid #e0e8d8}.demo-access>strong{font-size:11px;font-weight:550;color:#8c9f77}.demo-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.demo-buttons>button{font-size:9px;padding:7px 8px;border:1px solid #d9e4ce;border-radius:5px;background:#eff4e9;color:#869e6c}.demo-access small{display:block;font-size:10px;color:#a2b18c;margin-top:13px;line-height:1.9}.demo-access code{font-size:10px;color:#8b9e73}
@media(min-width:1600px){#content{padding:43px 50px 28px}.topbar{padding:0 50px}.kanban{gap:23px}.kanban-column{padding:18px 13px 13px}.opportunity-card{padding:18px 17px 0}.opportunity-card h3{font-size:14px}.card-value{font-size:20px}.metrics{gap:23px}.metric{padding:23px}.metric>small{font-size:11px}.metric-top{font-size:12px}.card-footer{padding:13px 0}.task-hint{font-size:10px}.task-hint small{font-size:9px}.source-tag,.card-number{font-size:9px}.card-date,.company{font-size:11px}.column-header h2{font-size:13px}.column-total{font-size:11px}}
@media(max-width:1200px){.sidebar{width:200px;flex-basis:200px;padding-left:14px;padding-right:14px}.workspace{margin-left:200px;width:calc(100% - 200px)}.brand{font-size:20px}.brand-mark{font-size:30px}.nav-item.active:before{left:-14px}#content{padding:28px 24px}.topbar{padding:0 24px}.page-heading h1{font-size:25px}.metric>strong{font-size:22px}.metric>strong span{display:none}.metric{padding:16px 14px}.filters{flex-wrap:wrap}.search-box{max-width:none;flex:1 1 200px}.filters select{flex:1}.kanban{gap:10px}.kanban-column{padding:13px 7px 7px}.opportunity-card{padding:12px 10px 0}.detail-grid{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:16px}.panel{padding:19px}.history-panel{padding:17px 14px}.detail-tabs{gap:15px}.day-grid{grid-template-columns:minmax(0,1fr) 250px;gap:17px}.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-brand{padding:45px}.login-brand h1{font-size:38px}}
@media(max-width:1020px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.kanban{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.kanban-column{padding:16px 11px 11px}.opportunity-card{padding:16px 15px 0}.opportunity-card h3{font-size:13px}.task-hint{font-size:10px}.card-date{font-size:11px}.card-value{font-size:20px}.column-header h2{font-size:12px}.detail-grid{grid-template-columns:minmax(0,1fr)}.history-sidebar{display:none}.mobile-history{display:block}.detail-tabs{gap:22px}.day-grid{grid-template-columns:minmax(0,1fr)}.day-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-grid{grid-template-columns:1fr}.settings-connections{grid-column:auto}.status-strip{gap:25px}.detail-heading h1{font-size:23px}.detail-heading{align-items:flex-start}.detail-heading>.btn{align-self:center}.section-title{align-items:flex-start}.section-title>span{max-width:180px;text-align:right;font-size:9px}.login-brand{padding:35px}.login-brand h1{font-size:34px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:225px;padding:28px 18px 18px;box-shadow:15px 0 70px #152f3740}.sidebar.open{transform:translateX(0)}.workspace{width:100%;margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:61px;padding:0 17px;gap:10px}.breadcrumb{font-size:10px;flex:1;gap:9px}.topbar-right{gap:8px}.today-label{display:none}.test-chip{font-size:8px;padding:5px 6px}.test-chip svg{width:10px;height:10px}#content{padding:25px 18px 15px}.page-heading{align-items:flex-start;gap:18px;flex-direction:column;margin-bottom:24px}.page-heading h1{font-size:26px;letter-spacing:-.8px}.page-heading p{font-size:11px;line-height:1.7;max-width:320px}.page-heading>.btn{align-self:flex-start}.metrics{gap:10px;margin-bottom:26px}.metric{padding:15px 13px;min-height:118px}.metric-top{font-size:10px;margin-bottom:13px}.metric-top svg{width:14px;height:14px}.metric>strong{font-size:24px}.metric>small{font-size:9px;margin-top:9px}.filters{gap:7px}.filters>.search-box{flex-basis:100%;max-width:100%}.filters select{font-size:9px;padding:10px 4px;max-width:none}.section-toolbar{margin-bottom:15px}.segmented button{font-size:10px;padding:8px 10px}.toolbar-end .view-label{display:none}.kanban{grid-template-columns:1fr;gap:21px}.kanban.single-column{grid-template-columns:1fr}.kanban-column{padding:15px 11px 11px}.column-header h2{font-size:12px}.column-total{margin-bottom:13px}.cards{gap:10px}.opportunity-card{padding:16px 16px 0}.card-top{margin-bottom:8px}.opportunity-card h3{font-size:14px;line-height:1.6}.company{font-size:11px;margin-bottom:14px}.card-value{font-size:21px}.card-date{font-size:11px}.card-followup{margin-top:13px}.task-hint{font-size:11px;align-items:center;padding:10px}.task-hint small{width:auto;margin-left:auto;padding-left:5px;font-size:9px}.card-footer{padding:11px 0}.card-footer>span{font-size:10px}.board-bottom{font-size:8px}.board-bottom>span:last-child{max-width:140px;text-align:right;line-height:1.7}.quiet-note{font-size:9px;line-height:1.8}.app-footer{padding:17px 18px;font-size:8px}.footer-right{display:none}.opportunity-row{flex-wrap:wrap;gap:12px;padding:17px}.opportunity-row>span:first-child{flex-basis:100%}.opportunity-row>.badge{margin-right:auto}.opportunity-row .row-date{display:none}.day-grid>aside{display:block}.task-row{gap:9px}.task-row>a strong{font-size:11px}.task-row>span{font-size:9px}.panel{padding:19px 17px}.panel-heading{gap:10px}.panel-heading h2{font-size:14px}.focus-card h2{font-size:25px}.client-grid{grid-template-columns:1fr}.quote-list-row{flex-wrap:wrap;gap:12px}.quote-list-row>a:first-child{flex-basis:70%}.quote-list-row>div{flex-direction:row;align-items:center;gap:20px}.quote-list-row>.btn{margin-left:auto}.quote-list-row h3{font-size:13px}.quote-list-row small{font-size:10px}.section-title{flex-direction:column;gap:10px}.section-title>span{max-width:none;text-align:left}.detail-heading{display:block}.detail-heading h1{font-size:25px}.detail-heading>.btn{margin-top:20px}.status-strip{display:grid;grid-template-columns:1fr 1fr;gap:21px;padding:18px}.status-amount{margin:0;text-align:left}.status-amount strong{font-size:21px}.detail-tabs{gap:20px}.detail-tabs button{font-size:10px;padding-bottom:13px}.detail-tabs button>span{display:none}.detail-grid{display:block}.data-grid{gap:22px 17px}.data-grid dd{font-size:11px}.timeline-entry p{font-size:11px}.timeline-meta strong{font-size:11px}.timeline-meta time{font-size:9px}.history-composer textarea{font-size:12px}.history-composer small{font-size:9px}.history-composer .btn{font-size:10px}.history-panel .panel-heading h2{font-size:15px}.history-subtitle{font-size:11px}.composer-label{font-size:9px}.compose-mail-button{font-size:11px}.quote-period{font-size:10px}.quote-period>span{margin:0}.quote-lines>div{font-size:11px;gap:10px}.quote-actions>.btn{flex:1 1 40%}.quote-totals{align-items:flex-end;gap:10px}.quote-totals>span{font-size:9px}.quote-totals>strong{font-size:20px}.settings-grid{gap:17px}.user-row{flex-wrap:wrap}.user-row .badge{font-size:9px}.user-row strong{font-size:11px}.roadmap-step{gap:15px}.roadmap-step h2{font-size:16px}.roadmap-step p{font-size:11px}.roadmap-step .step-number{font-size:20px}.roadmap-step>svg{display:none}dialog,dialog.wide{padding:21px 17px;border-radius:12px;max-height:94vh;width:calc(100% - 20px)}.modal-heading{gap:10px;margin-bottom:20px}.modal-heading h2{font-size:18px}.form-grid{gap:17px 12px}.form-grid label{font-size:10px}.form-grid input,.form-grid select{padding:10px 9px}.form-actions{position:sticky;bottom:-21px;background:#fff;margin:22px -17px -21px;padding:17px;border-radius:0 0 12px 12px;z-index:1}.form-actions .btn{font-size:11px;padding:10px 12px}.editor-line{grid-template-columns:repeat(4,minmax(0,1fr));padding:13px 10px;gap:12px 8px;position:relative}.editor-line .product-label{grid-column:1/5;padding-right:29px}.editor-line .remove-line{position:absolute;top:32px;right:8px}.editor-line .remove-line svg{width:17px;height:17px}.quote-editor-heading{align-items:flex-start;flex-direction:column;gap:7px}#quote-editor-totals{gap:22px}#quote-editor-totals strong{font-size:16px}.login-layout{display:block}.login-brand{padding:28px 27px 32px;min-height:240px}.login-brand .brand{font-size:21px;padding:0;margin-bottom:37px}.login-brand .brand small{font-size:6px}.login-brand h1{font-size:30px;letter-spacing:-.8px}.login-brand>div>p{font-size:11px;margin-top:14px;max-width:270px}.login-brand .eyebrow,.login-graphic,.login-footer{display:none}.login-brand:after{right:-400px;bottom:-260px}.login-form-area{padding:35px 28px 45px}.login-form-card{width:100%;max-width:380px}.local-label{margin-bottom:18px}.login-form-card h2{font-size:24px}.login-form-card>p{margin-bottom:25px}#toast{font-size:11px;padding:12px 16px;bottom:15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Identidad oficial, empresas/contactos y gestión de catálogo. */
:root { --green:#008b9b; --green-dark:#007282; --mint:#e2f2f4; }
[hidden] { display:none!important; }
.brand { background:#fff; padding:10px 12px; border-radius:9px; }
.official-logo { display:block; width:100%; max-width:166px; height:auto; }
.login-brand .brand { width:215px; padding:14px 18px; }
.login-brand .official-logo { max-width:180px; }
.sidebar .nav-item { font-size:11px; }
.client-fields { margin:20px 0; }
.inset-fields { background:#f4f8f8; border:1px solid #dfeaec; padding:16px; border-radius:8px; }
.opportunity-title-field { margin-bottom:17px; }
.direct-quote-fields { margin-bottom:15px; }
.quote-number-note { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; padding:13px 15px; background:#f4f8f8; border:1px solid #dce9ec; border-radius:7px; margin:17px 0; font-size:11px; }
.quote-number-note strong { color:#507a81; font-weight:550; }
.quote-number-note span { color:#799198; font-size:10px; }
.validity-hint { align-self:end; padding-bottom:7px; margin:0!important; }
.delivery-line { background:#f0f8f9; border-color:#bedce0; }
.delivery-line .product-label { color:#168797!important; }
.delivery-line input[readonly] { background:#f0f8f9; border-color:transparent; padding-left:0; font-weight:600; color:#267f8c; }
.editor-line input:disabled { opacity:.65; background:#eaf0ef; }
.directory-toolbar { display:flex; align-items:center; gap:20px; justify-content:space-between; margin-bottom:22px; }
.directory-toolbar .search-box { max-width:390px; width:100%; }
.directory-toolbar>span { font-size:11px; color:#8c9f9f; }
.directory-toolbar>select { width:auto; max-width:200px; font-size:11px; }
.client-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.client-card-heading .client-icon { margin-bottom:17px; background:#e6f1f2; color:#43848e; }
.company-contacts-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-top:22px; border-top:1px solid #e6eded; padding-top:13px; }
.company-contacts-heading h3 { font-size:11px; }
.company-contact { display:flex; align-items:flex-start; gap:14px; padding:13px 0; border-bottom:1px solid #edf1f0; }
.company-contact>div { flex:1; min-width:0; }
.company-contact strong { font-size:12px; font-weight:550; display:block; }
.company-contact small { font-size:10px; display:block; color:#819b9b; margin-top:5px; }
.company-contact span { font-size:10px; color:#93a5a5; display:block; margin-top:6px; line-height:1.8; overflow-wrap:anywhere; }
.company-contact .icon-button { width:25px; height:25px; }
.company-contact .icon-button svg { width:14px; height:14px; }
.client-opportunities>h3 { font-size:11px; color:#6e9092; margin-bottom:13px; }
.client-opportunities>a { padding:6px 0; color:#58828b; }
.unassigned-contacts { margin-top:24px; }
.contact-form-fields { margin-top:19px; }
.product-row { display:flex; align-items:center; gap:22px; padding:21px 0; border-top:1px solid #e5ecec; }
.product-row.archived { opacity:.6; }
.product-row-main { flex:1; min-width:0; }
.product-row-main>strong { display:block; font-size:13px; font-weight:550; }
.product-row-main>small { display:block; font-size:10px; color:#8ba3a5; margin-top:6px; }
.product-row-main>p { font-size:10px; color:#9baeb0; margin-top:8px; white-space:pre-wrap; max-height:50px; overflow:hidden; }
.product-stock { width:95px; text-align:center; }
.product-stock strong { font-size:20px; font-weight:550; display:block; }
.product-stock small,.product-price small { font-size:9px; color:#9baeb0; display:block; margin-top:6px; }
.product-price { width:90px; text-align:right; }
.product-price strong { font-size:15px; font-weight:600; }
.product-actions { display:flex; gap:7px; align-items:center; }
.inventory-summary { display:flex; justify-content:space-between; align-items:center; gap:15px; border:1px solid #cee3e5; background:#edf7f8; border-radius:7px; padding:15px; margin-bottom:20px; }
.inventory-summary strong { font-size:13px; }
.inventory-summary span { font-size:11px; color:#588c94; }
.inventory-history { margin-top:25px; }
.inventory-history>h3 { margin-bottom:12px; }
.inventory-history>div { border-top:1px solid #e6eeee; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:14px 0; }
.inventory-history>div>span { flex:1; min-width:0; }
.inventory-history strong { display:block; font-size:12px; font-weight:550; }
.inventory-history small { display:block; font-size:10px; line-height:1.8; margin-top:7px; color:#8fa6a8; }
@media(max-width:1200px) {
  .product-actions { flex-wrap:wrap; max-width:120px; }
  .product-actions .btn { width:100%; }
  .product-actions .icon-button { margin-left:auto; }
  .product-row { gap:15px; }
}
@media(max-width:760px) {
  .login-brand .brand { padding:11px 14px; width:195px; }
  .directory-toolbar { gap:12px; flex-wrap:wrap; }
  .directory-toolbar .search-box { flex-basis:100%; max-width:none; }
  .directory-toolbar>span { font-size:10px; }
  .directory-toolbar>select { font-size:10px; }
  .product-row { display:grid; grid-template-columns:1fr 1fr; gap:17px; }
  .product-row-main { grid-column:1/-1; }
  .product-stock { text-align:left; width:auto; }
  .product-price { width:auto; }
  .product-actions { grid-column:1/-1; flex-wrap:nowrap; max-width:none; }
  .product-actions .btn { width:auto; flex:1; }
  .product-actions .icon-button { margin:0; }
  .inventory-summary { flex-direction:column; align-items:flex-start; gap:9px; }
  .inset-fields { padding:13px 11px; }
  .quote-number-note { font-size:10px; }
  .validity-hint { font-size:9px!important; line-height:1.8; }
}
