:root{--bg:#f3f2ee;--card:#fff;--line:#dfe2da;--ink:#25302c;--muted:#6f7872;--brand:#203d34;--accent:#244c3d;--accent-hover:#153829;--link:#17625a;--soft:#edf2ef;--leaf:#e8eedf}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,p{margin:0}
h1{font-size:28px;line-height:1.15;letter-spacing:-.8px}
h2{font-size:18px;line-height:1.3;letter-spacing:-.3px}
h3{font-size:15px;margin-bottom:8px}
p+p{margin-top:12px}
.muted,small{color:var(--muted)}
.small{font-size:12px}
.center{text-align:center}
.skip{position:fixed;top:-80px;left:20px;background:#fff;padding:12px;z-index:10}
.skip:focus{top:8px}

.topbar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:4}
.top-inner{max-width:1190px;height:64px;display:flex;align-items:center;gap:20px;margin:auto;padding:0 24px}
.brand{font-size:24px;letter-spacing:-1.1px;font-weight:760;color:var(--brand);line-height:1;white-space:nowrap}
.brand:hover{text-decoration:none}
.brand>span{background:var(--brand);color:#fff;border-radius:3px;padding:1px 4px 3px;margin-left:1px}
.search{height:38px;background:var(--soft);border-radius:6px;display:flex;gap:8px;align-items:center;padding:0 12px;flex:1;max-width:280px}
.search>span{font-size:20px}
.search input{width:100%;border:0;background:none;min-width:0;outline:none}
.topbar nav{display:flex;align-self:stretch;margin-left:auto;gap:4px}
.topbar nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:60px;font-size:11px;color:#727975;border-bottom:3px solid transparent;padding-top:4px}
.topbar nav a:hover{text-decoration:none;color:var(--brand)}
.topbar nav a>span{font-size:21px;line-height:1.1;margin-bottom:2px}
.topbar nav a.active{color:var(--brand);border-color:var(--brand)}
.top-actions{display:flex;align-items:center;gap:8px}
.avatar-button{width:36px;height:36px;border-radius:50%;border:0;background:var(--leaf);color:var(--brand);font-weight:750}

.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:#fff;border:1px solid #d7dcd5;border-radius:22px;padding:8px 16px;color:#243b30;font-weight:650;line-height:1.25;white-space:nowrap}
.btn:hover{background:#eef3ed;text-decoration:none}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.primary:hover{background:var(--accent-hover)}
.btn.subtle{border-color:transparent;background:transparent}
.btn.block{width:100%}

.layout{max-width:1190px;margin:24px auto;display:grid;grid-template-columns:224px minmax(0,1fr) 280px;gap:22px;padding:0 24px;align-items:start}
.left-rail,.right-rail{position:sticky;top:88px}
.card{background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.pad{padding:20px}
.pad-sm{padding:0 16px 16px}
.stack{display:flex;flex-direction:column;gap:14px}
.flex{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cover{height:58px;background:linear-gradient(120deg,#d8e4cf,#c9dcc9 60%,#e9e0cc)}
.identity{text-align:center;padding:0 16px 16px}
.identity h2{margin-top:8px;font-size:16px}
.identity p{font-size:12px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.side-menu{border-top:1px solid #edf0eb;padding:8px 0}
.side-menu a{display:flex;align-items:center;gap:10px;padding:8px 16px;color:#38423d;font-weight:600}
.side-menu a:hover{background:#f5f7f3;text-decoration:none}
.side-menu a span{width:18px;text-align:center;color:var(--muted)}
.side-menu a b{margin-left:auto;font-size:12px;color:var(--muted)}

.avatar{width:46px;height:46px;flex-shrink:0;background:#dce9d0;color:#31553e;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;font-weight:750;font-size:16px;position:relative}
.avatar.orange{background:#fae5d0;color:#955a29}
.avatar.purple{background:#e7dff4;color:#66518d}
.avatar.blue{background:#dceaf3;color:#335a7b}
.avatar.large{width:72px;height:72px;font-size:24px;border:4px solid #fff;border-radius:18px;margin-top:-34px}
.robot{width:30px;height:22px;border:2px solid currentColor;border-radius:7px;position:relative}
.robot:before{content:"••";font-size:19px;letter-spacing:4px;position:absolute;left:5px;top:-8px}
.robot:after{content:"";position:absolute;left:12px;top:-8px;height:6px;border-left:2px solid currentColor}

.composer{padding:14px 16px;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}
.composer-button{display:block;border:1px solid #cfd6cd;border-radius:24px;padding:11px 18px;color:var(--muted);font-weight:600}
.composer-button:hover{background:#f5f7f3;text-decoration:none}
.composer-foot{grid-column:1/-1;display:flex;gap:6px}
.composer-foot a{padding:6px 10px;border-radius:6px;color:#4e5a53;font-weight:600}
.composer-foot a:hover{background:#f2f5f0;text-decoration:none}
.feed-divider{font-size:12px;color:var(--muted)}

.post{padding:16px 18px 6px}
.post-head{display:flex;gap:12px;align-items:flex-start}
.who{display:flex;flex-direction:column;min-width:0}
.who strong{color:var(--ink)}
.who small{font-size:12px;line-height:1.35}
.who small:first-of-type,.suggestion small{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.post-body{white-space:pre-line;margin:12px 0}
.hash{color:var(--link);font-weight:600}
.post-visual{background:#ebefdf;border-radius:8px;padding:26px;margin:4px 0 14px;text-align:center}
.post-visual strong{display:block;font-size:30px;line-height:1.15;color:#385c37;letter-spacing:-.9px}
.post-visual small{display:block;margin-top:10px;font-size:10px;letter-spacing:2px;color:#77946d}
.celebrate{margin:12px 0 0;background:linear-gradient(110deg,#fff4dc,#f3ead0 50%,#e6efd9);border-radius:8px;padding:22px;text-align:center}
.celebrate span{font-size:30px;display:block}
.celebrate strong{font-size:18px;color:#5b4a1f}
.poll{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.poll button{border:1px solid var(--accent);color:var(--accent);background:#fff;border-radius:20px;padding:8px;font-weight:650}
.poll button:hover{background:#eef3ed}
.poll-row{position:relative;border-radius:6px;background:#f2f4f0;padding:8px 12px;display:flex;justify-content:space-between;overflow:hidden}
.poll-row span{position:absolute;inset:0 auto 0 0;background:#dce9d0;transition:width .6s}
.poll-row b,.poll-row em{position:relative;font-style:normal}
.poll-row.mine b:after{content:" ✓"}
.post-stats{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:6px 0;border-bottom:1px solid #eef0ec}
.post-actions{display:flex;justify-content:space-around;padding:2px 0}
.post-actions button{border:0;background:none;padding:10px 12px;border-radius:6px;color:#58625c;font-weight:650}
.post-actions button:hover,.post-actions button.on{background:#f2f5f0;color:var(--brand)}
.comment-box{padding:4px 0 12px}
.comment-box p{background:#f4f6f2;border-radius:8px;padding:8px 12px;margin:0 0 8px}
.comment-box p strong{display:block;font-size:12px}
.comment-box p.bot{margin-left:24px;background:#eef3e7}
.comment-box form{display:flex;gap:8px}
.comment-box input{flex:1;min-width:0;border:1px solid #cfd6cd;border-radius:20px;padding:8px 14px}

.news-item{padding:8px 0}
.news-item strong{display:block;font-size:13px;line-height:1.35}
.news-item small{font-size:12px}
.hire{background:var(--leaf);border-color:#d6e1c9}
.hire p{font-size:13px;color:#4f6249;margin-bottom:14px}
.suggestion{display:flex;gap:10px;align-items:center;padding:8px 0}
.suggestion .avatar{width:38px;height:38px;font-size:13px;border-radius:9px}
.suggestion small{display:block;font-size:12px;line-height:1.35}
.suggestion strong{color:var(--ink)}

.page{max-width:1000px;margin:28px auto;padding:0 24px}
.page.narrow{max-width:680px}
.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.back{margin-bottom:14px}
.section-title{margin:24px 0 12px;display:flex;align-items:center;gap:8px}
.count{font-size:12px;font-weight:700;background:var(--soft);color:var(--brand);border-radius:12px;padding:3px 10px;white-space:nowrap}
.center-card{text-align:center;padding:36px 28px}
.center-card .btn{margin:6px 0 10px}
.how{list-style:none;padding:0;margin:22px auto;display:grid;gap:10px;max-width:340px;text-align:left}
.how li{display:flex;gap:12px;align-items:center}
.how b{width:28px;height:28px;border-radius:50%;background:var(--leaf);color:var(--brand);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.job-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;color:var(--ink)}
.job-row:hover{text-decoration:none;border-color:#b9c7b4}
.job-row small{display:block;font-size:12px}
.job-form{display:flex;flex-direction:column;gap:14px;margin-top:18px}
.field{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:13px}
.field input,.field textarea,.field select{border:1px solid #cfd6cd;border-radius:8px;padding:10px 12px;font-weight:400;width:100%;background:#fff;color:var(--ink)}
.field textarea{resize:vertical}
.job-form .btn{align-self:flex-start}
.description{white-space:pre-line;margin:14px 0}
#remove-job{padding:0;color:var(--muted);font-weight:500}
.empty{text-align:center;color:var(--muted);padding:26px}
.empty h2{color:var(--ink);margin-bottom:6px}
.error{color:#a33a2b}

.application{padding:18px}
.letter{white-space:pre-line;margin:12px 0 14px}
.arrive{animation:arrive .5s ease-out}
@keyframes arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.typing{padding:14px 18px;display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}
.dots{display:inline-flex;gap:4px}
.dots i{width:7px;height:7px;border-radius:50%;background:#9fb39a;animation:blink 1.2s infinite}
.dots i:nth-child(2){animation-delay:.2s}
.dots i:nth-child(3){animation-delay:.4s}
@keyframes blink{0%,80%,100%{opacity:.25}40%{opacity:1}}

.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start}
.profile-top h1{margin-top:10px}
.profile-top .flex{margin-top:16px}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.tag{font-size:12px;background:var(--soft);border-radius:12px;padding:3px 10px;color:#3d5148}
.pitch{white-space:pre-line;margin:10px 0}
.plain-list{padding-left:18px;margin:6px 0 14px}
.plain-list li{margin:4px 0}

dialog{border:1px solid #d8dfd0;border-radius:12px;padding:0;width:min(520px,calc(100% - 32px));max-height:90dvh;color:#2f3d34;box-shadow:0 20px 100px #12251a30}
dialog::backdrop{background:#15281b66}
#modal-content{padding:24px;display:flex;flex-direction:column;gap:12px}
#modal-content form{display:flex;flex-direction:column;gap:12px}
.modal-head{display:flex;align-items:center;gap:10px;justify-content:space-between}
.close{background:none;border:0;font-size:23px;color:#86937b;padding:0 5px}
.modal-actions{display:flex;gap:10px;flex-wrap:wrap}
.history{border-top:1px solid #eee;padding:10px 0}
.preview-copy{white-space:pre-line;background:#f6f8f4;border-radius:8px;padding:12px}
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#244331;color:#fff;max-width:calc(100% - 32px);padding:12px 22px;border-radius:7px;box-shadow:0 5px 20px #182b1922;z-index:9;display:none}
.toast.show{display:block}
.page-footer{max-width:1000px;margin:36px auto;padding:0 24px;display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:var(--muted)}
.page-footer a{color:var(--muted)}
main:focus{outline:none}

@media(max-width:1060px){.layout{grid-template-columns:200px minmax(0,1fr)}.right-rail{display:none}.search{max-width:200px}}
@media(max-width:760px){
  .top-inner{height:auto;flex-wrap:wrap;gap:6px;padding:8px 16px 10px}
  .brand{font-size:19px}
  .search{order:3;max-width:none;flex-basis:100%;height:34px}
  .topbar nav{margin-left:auto;gap:0}
  .topbar nav a{min-width:44px;font-size:10px}
  .top-actions{gap:2px}
  .top-actions>.btn:not(.primary){display:none}
  .top-actions .btn{padding:6px 10px;font-size:12px}
  .layout{grid-template-columns:1fr;padding:0 12px;margin:14px auto}
  .left-rail{display:none}
  .page{padding:0 16px;margin:18px auto}
  .profile-layout{grid-template-columns:1fr}
  .post{padding:14px 14px 4px}
  .post-actions button{padding:10px 6px;font-size:13px}
  .page-head{flex-wrap:wrap}
  h1{font-size:24px}
}
.provider-site .search,.provider-site .top-actions{display:none}

/* Résumé kinds */
.kind{display:inline-block;align-self:flex-start;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#416b52;background:#ecf1e9;border-radius:3px;padding:1px 6px;margin:2px 0}
.kinds{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}
.kinds legend{font-weight:650;font-size:13px;margin-bottom:6px;padding:0}
.kinds label{cursor:pointer}
.kinds input{position:absolute;opacity:0}
.kinds span{display:inline-block;border:1px solid #cfd6cd;border-radius:22px;padding:7px 14px;font-weight:600;background:#fff}
.kinds input:checked+span{background:var(--accent);border-color:var(--accent);color:#fff}
.kinds input:focus-visible+span{outline:3px solid #6ca480;outline-offset:2px}
.field small{font-weight:400}
.center-flex{justify-content:center}
.center-card>.muted{margin-top:8px}

/* Tico Recruit (recruit.tico.dev): the tico.dev look */
.recruit-site{--bg:#f7f7f3;--ink:#172221;--muted:#56635e;--line:#d4dbd2;--brand:#172221;--accent:#172221;--accent-hover:#2c4a39;--link:#2e6246;--soft:#ecf1e9;--leaf:#ecf1e9}
.recruit-site .topbar{background:var(--bg)}
.recruit-site .top-inner{height:72px;max-width:1040px}
.tico-brand{display:flex;align-items:center;gap:9px}
.tico-brand img{height:27px;width:auto;display:block}
.tico-brand span{background:none;color:#416b52;padding:0;margin:0;font-size:21px;font-weight:620;letter-spacing:-.04em;border-left:1px solid var(--line);padding-left:9px}
.recruit-site .topbar nav{gap:24px;align-self:center}
.recruit-site .topbar nav a{display:inline;min-width:0;font-size:14px;font-weight:600;color:var(--ink);border:0;padding:0}
.recruit-site .topbar nav a.active{color:#416b52;text-decoration:underline;text-underline-offset:6px}
.recruit-site .btn{border-radius:3px}
.recruit-site .card{border-radius:4px}
.recruit-site h1{font-weight:650;letter-spacing:-.04em}
.recruit-site .page.narrow h1{font-size:34px}
.recruit-site .kinds span{border-radius:3px}
.recruit-site .cover{background:linear-gradient(120deg,#e4ebe0,#d6e3d4 60%,#ecebe2)}
@media(max-width:760px){
  .recruit-site .top-inner{height:auto}
  .recruit-site .topbar nav{order:3;flex-basis:100%;margin-left:0;gap:18px;padding:4px 0 2px}
  .recruit-site .top-actions{margin-left:auto}
  .recruit-site .page.narrow h1{font-size:28px}
}
