:root{--green:#063d34;--green2:#0a5848;--green3:#14715c;--orange:#e96930;--gold:#f3aa35;--olive:#738b2c;--cream:#f7f1e6;--paper:#fffdf8;--ink:#15201c;--muted:#68736e;--line:#dfe2da;--soft:#edf0e8;--shadow:0 18px 55px rgba(13,61,51,.10);--shadow-soft:0 12px 34px rgba(13,61,51,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}button,input,select,textarea{font:inherit}button,a{transition:.2s}a{color:inherit}.hidden{display:none!important}.topbar{height:78px;padding:0 max(22px,calc((100vw - 1400px)/2));display:flex;align-items:center;gap:24px;background:rgba(247,241,230,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(6,61,52,.08);position:sticky;top:0;z-index:20}.brand img{width:136px;display:block}.env{margin-left:auto;display:flex;align-items:center;gap:9px;color:var(--green);font-size:.75rem}.env span{width:8px;height:8px;border-radius:50%;background:#7aa633;box-shadow:0 0 0 5px rgba(122,166,51,.12)}.top-actions{display:flex;gap:8px;align-items:center}.ghost{border:1px solid var(--line);background:rgba(255,255,255,.62);color:var(--green);border-radius:12px;padding:10px 14px;text-decoration:none;font-weight:800;cursor:pointer}.ghost:hover{background:white;transform:translateY(-1px)}.kicker{font-size:.72rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:var(--olive)}
.auth-shell{max-width:1400px;margin:0 auto;min-height:calc(100vh - 78px);padding:54px 28px 64px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.72fr);gap:68px;align-items:center}.access-story{min-width:0}.story-copy{max-width:710px}.story-copy h1{font-size:clamp(3.1rem,5vw,5.35rem);line-height:.94;letter-spacing:-.058em;margin:17px 0 25px}.story-copy h1 em{color:var(--orange);font-style:normal}.story-copy>p{font-size:1.08rem;color:#53605a;max-width:650px}.access-network{height:330px;position:relative;margin:30px 0 22px;max-width:720px}.access-orbit{position:absolute;left:47%;top:50%;transform:translate(-50%,-50%);border:1px dashed rgba(6,61,52,.17);border-radius:50%}.orbit-a{width:270px;height:270px}.orbit-b{width:420px;height:420px}.access-logo{position:absolute;left:47%;top:50%;transform:translate(-50%,-50%);width:190px;height:190px;border-radius:50%;background:white;border:1px solid rgba(6,61,52,.1);box-shadow:var(--shadow-soft);display:grid;place-items:center;z-index:2}.access-logo img{width:74%;height:auto}.access-node{position:absolute;z-index:3;background:white;border:1px solid var(--line);border-radius:16px;padding:13px 16px;display:flex;align-items:center;gap:11px;min-width:175px;box-shadow:var(--shadow-soft)}.access-node>span{width:38px;height:38px;border-radius:11px;background:#f5ead8;color:var(--orange);display:grid;place-items:center;font-size:.68rem;font-weight:900}.access-node small,.access-node b{display:block}.access-node small{font-size:.64rem;color:var(--muted)}.access-node b{font-size:.8rem;color:var(--green)}.node-buyer{left:1%;top:11%}.node-supplier{right:2%;top:29%}.node-logistics{left:7%;bottom:8%}.story-points{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:760px}.story-points article{display:flex;gap:10px;align-items:flex-start;background:rgba(255,255,255,.58);border:1px solid rgba(6,61,52,.09);border-radius:15px;padding:13px}.story-points article>span{width:25px;height:25px;border-radius:8px;background:#edf2df;color:#5b7b25;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.story-points b,.story-points small{display:block}.story-points b{font-size:.76rem;color:var(--green)}.story-points small{font-size:.66rem;color:var(--muted);margin-top:3px}.auth-side{position:relative}.auth-side:before{content:"";position:absolute;inset:-18px -18px 22% 24%;border-radius:32px;background:rgba(219,227,182,.55);z-index:0;transform:rotate(2deg)}.auth-card,.panel{background:var(--paper);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.auth-card{position:relative;z-index:1;padding:30px 30px 24px}.auth-card-head{margin-bottom:23px}.mini-label{display:inline-block;font-size:.65rem;letter-spacing:.12em;font-weight:900;color:var(--olive);margin-bottom:8px}.auth-card-head h2{font-size:1.9rem;line-height:1.05;letter-spacing:-.04em;margin:0 0 8px;color:var(--green)}.auth-card-head p{margin:0;color:var(--muted);font-size:.86rem}.tabs{display:grid;grid-template-columns:1fr 1fr;background:#edf0e8;border-radius:13px;padding:4px;margin-bottom:22px}.tabs button{border:0;background:none;padding:11px 8px;border-radius:9px;font-weight:850;color:var(--muted);cursor:pointer;font-size:.78rem}.tabs button.active{background:white;color:var(--green);box-shadow:0 3px 13px rgba(0,0,0,.06)}.form{display:grid;gap:14px}.form label,.grid-form label{font-size:.74rem;font-weight:800;color:#425049}.form input,.form select,.grid-form input,.grid-form select,.grid-form textarea{width:100%;margin-top:6px;border:1px solid #d7ddd7;background:#fff;border-radius:11px;padding:12px 13px;outline:none;color:var(--ink)}.form input::placeholder,.grid-form input::placeholder,.grid-form textarea::placeholder{color:#9da5a1}.form input:focus,.form select:focus,.grid-form input:focus,.grid-form select:focus,.grid-form textarea:focus{border-color:var(--green2);box-shadow:0 0 0 3px rgba(10,88,72,.08)}.check{display:flex!important;gap:9px;align-items:flex-start;font-weight:600!important;line-height:1.35}.check input{width:auto!important;margin-top:3px!important}.primary{border:0;border-radius:12px;padding:13px 17px;background:var(--green);color:white;font-weight:850;cursor:pointer;box-shadow:0 8px 20px rgba(6,61,52,.17);display:flex;align-items:center;justify-content:center;gap:8px}.primary:hover{transform:translateY(-1px);background:#0a5145}.hint{font-size:.68rem;color:var(--muted);margin:0;text-align:center}.security-note{margin-top:18px;padding-top:15px;border-top:1px solid #e8e9e3;display:flex;gap:9px;align-items:flex-start}.security-note>span{color:#6f9630;font-size:.8rem;margin-top:2px}.security-note p{margin:0;color:var(--muted);font-size:.68rem;line-height:1.4}.security-note b{color:#53615a}.message{margin-top:14px;padding:12px 14px;border-radius:10px;background:#eef3e7;color:#48661f;font-size:.78rem}.message.error{background:#f7e4e0;color:#9a3f32}.toast{position:fixed;right:22px;bottom:22px;background:var(--green);color:white;padding:12px 16px;border-radius:11px;font-size:.78rem;font-weight:750;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s;z-index:90}.toast.show{opacity:1;transform:none}
.app{min-height:calc(100vh - 78px);display:grid;grid-template-columns:260px 1fr;background:#eef0eb}.sidebar{background:var(--green);color:white;padding:22px 15px;display:flex;flex-direction:column}.profile{display:flex;gap:10px;align-items:center;padding:10px;margin-bottom:24px}.profile>div:first-child{width:42px;height:42px;border-radius:12px;background:#f3ead9;color:var(--green);display:grid;place-items:center;font-weight:900}.profile b,.profile span{display:block}.profile span{font-size:.68rem;color:#bed2cc}.sidebar nav{display:grid;gap:5px}.sidebar nav button{border:0;background:transparent;color:#d8e5e1;text-align:left;border-radius:10px;padding:11px 12px;font-weight:750;cursor:pointer}.sidebar nav button:hover,.sidebar nav button.active{background:rgba(255,255,255,.12);color:white}.side-note{margin-top:auto;padding:12px;border-top:1px solid rgba(255,255,255,.12);font-size:.66rem;color:#abc8c0}.workspace{padding:36px;min-width:0}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.page-head h2{font-size:2rem;letter-spacing:-.04em;margin:4px 0}.page-head p{margin:0;color:var(--muted)}.backend-pill{font-size:.68rem;color:#4f7520;background:#ebf3df;border-radius:999px;padding:8px 11px;font-weight:800}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.metric{background:white;border:1px solid var(--line);border-radius:15px;padding:18px}.metric span,.metric small{display:block;color:var(--muted);font-size:.68rem}.metric strong{display:block;font-size:1.65rem;color:var(--green);margin:7px 0}.panel{padding:21px}.panel-head h3{font-size:1.15rem;margin:4px 0}.panel-head p{margin:0;color:var(--muted);font-size:.8rem}.two-col{display:grid;grid-template-columns:1.35fr .65fr;gap:14px}.grid-form{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:20px}.grid-form .full{grid-column:1/-1}.flow ol{padding-left:22px;color:#43504a}.flow li{padding:8px 0;border-bottom:1px solid #edf0ea}.flow p{font-size:.75rem;color:var(--muted)}.records{display:grid;gap:9px}.record{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:13px 14px;background:#fafbf8;border:1px solid #e7eae4;border-radius:11px}.record b,.record small{display:block}.record small{font-size:.67rem;color:var(--muted);margin-top:3px}.status{font-size:.62rem;font-weight:850;border-radius:999px;padding:6px 8px;background:#edf1e3;color:#55731f}.empty{padding:30px;text-align:center;color:var(--muted);font-size:.8rem}.callout{padding:16px;background:#fff2dd;border-radius:12px;color:#7c521a;font-size:.8rem}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.actions button{border:1px solid var(--line);background:white;color:var(--green);border-radius:9px;padding:9px 12px;font-weight:800;cursor:pointer}
@media(max-width:1080px){.auth-shell{grid-template-columns:1fr;gap:32px;padding-top:42px}.access-story{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.access-network{margin:0;min-height:300px}.story-points{grid-column:1/-1}.auth-side{max-width:720px;width:100%;margin:0 auto}.app{grid-template-columns:1fr}.sidebar{position:static;padding:12px}.profile{margin-bottom:8px}.sidebar nav{grid-template-columns:repeat(2,1fr)}.side-note{display:none}.workspace{padding:22px}.metric-grid{grid-template-columns:1fr 1fr}.two-col{grid-template-columns:1fr}}
@media(max-width:760px){.topbar{height:70px;padding:0 16px}.brand img{width:116px}.env{display:none}.ghost{padding:9px 11px;font-size:.72rem}.auth-shell{padding:32px 18px 45px}.access-story{display:block}.story-copy h1{font-size:3rem}.story-copy>p{font-size:.96rem}.access-network{height:290px;margin:24px 0 12px}.orbit-b{width:330px;height:330px}.orbit-a{width:230px;height:230px}.access-logo{width:160px;height:160px}.access-node{min-width:145px;padding:10px 12px}.node-buyer{left:0}.node-supplier{right:0}.node-logistics{left:3%;bottom:4%}.story-points{grid-template-columns:1fr}.auth-card{padding:24px 20px 20px}.auth-card-head h2{font-size:1.65rem}.workspace{padding:17px}.page-head{display:block}.backend-pill{display:inline-block;margin-top:10px}.metric-grid,.grid-form{grid-template-columns:1fr}.grid-form .full{grid-column:auto}.sidebar nav{grid-template-columns:1fr 1fr}.two-col{display:block}.flow{margin-top:12px}.record{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.top-actions .ghost{max-width:125px;text-align:center}.story-copy h1{font-size:2.55rem}.access-network{height:250px;transform:scale(.92);transform-origin:center top;margin-bottom:-4px}.node-supplier{top:31%}.tabs button{font-size:.7rem}.auth-card{border-radius:20px}.sidebar nav{grid-template-columns:1fr}.page-actions{width:100%}}

/* Interior funcional V1 */
.mobile-menu{display:none}.is-loading{display:inline-flex;align-items:center;gap:8px}.is-loading:before{content:"";width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast[data-type="error"]{background:#9a3f32}.record-main{min-width:0;flex:1}.record-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.record-title b{font-size:.88rem}.link-btn,.back-btn,.inline-link{border:0;background:transparent;color:var(--green2);font-weight:850;cursor:pointer}.link-btn{padding:9px;border-radius:9px;white-space:nowrap}.link-btn:hover,.back-btn:hover{background:#edf3ed}.back-btn{margin:0 0 12px;padding:9px 10px;border-radius:9px}.inline-link{padding:0;text-decoration:underline}.status{white-space:nowrap;text-transform:none}.status-draft{background:#eee;color:#5e6662}.status-received,.status-submitted{background:#e5eef8;color:#315e84}.status-qualifying,.status-under_review{background:#fff1d7;color:#7b561b}.status-quoting,.status-round_open,.status-collecting_interest{background:#fce4d8;color:#9b4c27}.status-condition_available,.status-selected,.status-approved,.status-completed,.status-delivered{background:#e7f2dc;color:#4e7120}.status-cancelled,.status-rejected,.status-suspended,.status-expired{background:#f5dfdc;color:#943e33}.empty-state{text-align:center;padding:42px 24px;color:var(--muted)}.empty-state .empty-icon{width:46px;height:46px;display:grid;place-items:center;margin:0 auto 12px;border-radius:15px;background:#edf2df;color:var(--olive);font-size:1.6rem}.empty-state h3{margin:0 0 6px;color:var(--green);font-size:1rem}.empty-state p{max-width:520px;margin:0 auto 18px;font-size:.8rem}.empty-state .primary{margin:auto}.detail-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);gap:14px}.detail-grid>.panel:first-of-type{grid-column:1/-1}.detail-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 17px;color:var(--muted);font-size:.75rem}.panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 0}.panel dl div{padding:12px;background:#f7f8f4;border-radius:11px}.panel dt{font-size:.67rem;color:var(--muted)}.panel dd{margin:3px 0 0;font-size:.82rem;font-weight:800;color:var(--green)}.detail-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px;border-bottom:1px solid #e9ebe5}.detail-row:last-child{border-bottom:0}.detail-row b,.detail-row small{display:block}.detail-row small{font-size:.68rem;color:var(--muted);margin-top:3px}.timeline{display:grid;gap:12px}.timeline>div{padding-left:15px;border-left:3px solid #dbe6c9}.timeline b,.timeline small{display:block}.timeline small{color:var(--muted);font-size:.68rem}.callout.neutral{background:#edf3ef;color:#3f5e54}.action-note{align-self:center;color:var(--muted);font-size:.68rem}.page-cta{margin:0 0 14px auto}.admin-metrics{grid-template-columns:repeat(3,1fr)}.skeleton-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.skeleton-grid i{height:110px;border-radius:16px;background:linear-gradient(90deg,#e8ebe5,#f7f8f5,#e8ebe5);background-size:200% 100%;animation:shimmer 1.2s infinite}@keyframes shimmer{to{background-position:-200% 0}}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(233,105,48,.32)!important;outline-offset:2px}
@media(max-width:1080px){.mobile-menu{display:inline-flex}.sidebar{display:none}.sidebar.open{display:flex}.admin-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.top-actions{gap:5px}.top-actions .ghost{font-size:.67rem;padding:8px}.detail-grid{grid-template-columns:1fr}.detail-grid>.panel:first-of-type{grid-column:auto}.panel dl{grid-template-columns:1fr}.admin-metrics,.skeleton-grid{grid-template-columns:1fr}.record .link-btn{width:100%;text-align:left;padding-left:0}.page-cta{width:100%}.workspace{overflow:hidden}.panel{border-radius:18px;padding:17px}.toast{left:16px;right:16px;bottom:16px;text-align:center}}
