
:root{
  --v10-green:#114d3e;
  --v10-green-soft:#dff0dd;
  --v10-green-pale:#f3faf4;
  --v10-border:#dbe8dd;
  --v10-shadow:0 22px 60px rgba(17,77,62,.08);
}

#page-requests,
#page-dashboard,
#page-inbox{background:linear-gradient(180deg,#f7fbf6 0%,#fdfefe 220px,#f7faf8 100%)}

#page-requests .subpage,
#page-dashboard .subpage,
#page-inbox .subpage{padding-top:54px;padding-bottom:70px}

#page-requests .section-head,
#page-dashboard .section-head,
#page-inbox .inbox-heading{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:28px;
  padding:34px 36px;
  border:1px solid var(--v10-border);
  border-radius:34px;
  background:radial-gradient(circle at top right, rgba(148,203,145,.28), transparent 35%), linear-gradient(180deg,#ffffff 0%,#f5fbf6 100%);
  box-shadow:var(--v10-shadow);
  overflow:hidden;
}
#page-requests .section-head::after,
#page-dashboard .section-head::after,
#page-inbox .inbox-heading::after{
  content:'';position:absolute;inset:auto -60px -80px auto;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle,rgba(27,133,86,.18),transparent 68%);
}
#page-requests .section-head h1,
#page-dashboard .section-head h1,
#page-inbox .inbox-heading h1{font-size:clamp(2.5rem,5vw,4rem);line-height:.98;margin-bottom:14px}
#page-requests .section-head p,
#page-dashboard .section-head p,
#page-inbox .inbox-heading p{max-width:700px;font-size:1.05rem;color:#618074}
#page-dashboard .demo-label,
#page-inbox .inbox-lock{position:relative;z-index:1;white-space:nowrap;background:#e8f5e7;color:#1b6b52;padding:12px 18px;border-radius:999px;border:1px solid #cfe4d4;font-weight:700}

#page-requests .filterbar{
  background:#fff; border:1px solid var(--v10-border); box-shadow:0 16px 40px rgba(17,77,62,.05);
  padding:14px; border-radius:26px; gap:12px; margin-bottom:26px; align-items:center;
}
#page-requests .filterbar .filter-search{flex:1; min-width:240px; background:#f8fcf8; border-radius:18px; border:1px solid #dfebe0; padding:4px 8px 4px 12px}
#page-requests .filterbar select{background:#f8fcf8;border:1px solid #dfebe0;border-radius:16px;padding:0 16px;min-width:170px;height:54px}

.request-grid{gap:20px}
.request-card{
  border:1px solid var(--v10-border);
  border-radius:30px;
  padding:24px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fcf8 100%);
  box-shadow:0 18px 45px rgba(17,77,62,.06);
}
.request-card-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.request-header{display:flex;gap:10px;flex-wrap:wrap}
.request-state{padding:10px 14px;border-radius:999px;background:#eff8ef;color:#1f6c4f;border:1px solid #d5e8d6;font-size:.82rem;font-weight:700}
.request-card h3{font-size:1.95rem;line-height:1.05;margin:0 0 14px;color:#163d33}
.request-card p{font-size:1rem;line-height:1.65;color:#587468;margin-bottom:16px}
.request-meta{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:18px;color:#678477;font-weight:600}
.request-pictures{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 18px}
.request-pictures img{height:96px;border-radius:18px;object-fit:cover;border:1px solid #dfeadf}
.request-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-top:18px;border-top:1px solid #e6efea}
.request-owner strong{display:block;color:#173c33}
.request-owner small{display:block;color:#799182;margin-top:4px}
.request-actions{display:flex;align-items:center;gap:10px}
.request-link-note{padding:12px 16px;border-radius:999px;background:#f0f7f0;color:#4c725f;font-weight:700}

.dashboard-tabs{display:flex;gap:12px;padding:8px;background:#edf6ee;border:1px solid #dce8dd;border-radius:22px;width:max-content;max-width:100%;margin-bottom:26px;flex-wrap:wrap}
.dashboard-tabs button{border:none;background:transparent;padding:13px 20px;border-radius:16px;font-weight:700;color:#668073}
.dashboard-tabs button.selected{background:#fff;color:#174336;box-shadow:0 10px 24px rgba(17,77,62,.09)}
.dash-panel{padding:0}
.panel-grid{gap:22px;align-items:start}
.form-card,.side-info,.dashboard-intro,.empty,.work-card{
  border:1px solid var(--v10-border);background:linear-gradient(180deg,#fff 0%,#f8fcf9 100%);box-shadow:var(--v10-shadow);border-radius:30px;
}
.form-card{padding:30px}
.form-card h3{font-size:2rem;line-height:1.05;margin-bottom:10px}
.form-card p{color:#658071}
.form-card label>input,.form-card label>select,.form-card label>textarea{background:#fbfefb;border:1px solid #d8e6da;border-radius:18px;padding:16px 18px}
.form-card label>textarea{min-height:140px}
.field-help{padding:14px 16px;border-radius:18px;background:#f2f8f2;color:#5d776a;border:1px dashed #cadcca}
.profile-preview{min-height:76px}
.profile-preview img{width:88px;height:88px;border-radius:22px;object-fit:cover;box-shadow:0 12px 30px rgba(17,77,62,.14)}
#profileSubmit{width:max-content;min-width:220px}
.profile-created-actions{background:#eff8f0;border:1px solid #d2e5d5;border-radius:22px;padding:18px}
.side-info{padding:30px;background:linear-gradient(180deg,#f4fbf5 0%,#ebf6ee 100%)}
.info-illustration{height:190px;border-radius:28px;background:linear-gradient(180deg,#dff0e2 0%,#d2e8d6 100%);color:#23915d;display:grid;place-items:center;margin-bottom:28px}
.side-info h3{font-size:2rem;line-height:1.08;margin-bottom:12px}
.side-info p,.side-info li{color:#5f7a6d}
.side-info ul{display:grid;gap:12px;padding-left:18px}
.dashboard-intro{padding:24px 26px;display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.dashboard-intro h3{font-size:1.7rem;margin-bottom:6px}
.dashboard-intro p{color:#617d6f}
.portfolio-grid{gap:20px}
.work-card{overflow:hidden}
.work-card .work-photos{background:#eef6ef;min-height:220px}
.work-card .work-photos img{width:100%;height:220px;object-fit:cover}
.work-card .work-content{padding:22px}
.work-card h3{font-size:1.5rem;margin-bottom:10px}
.work-card p{color:#60796d;line-height:1.6}
.empty{padding:34px;text-align:center}
.empty h3{font-size:1.6rem;margin-bottom:10px}
.empty p{color:#647d70}

.inbox-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:20px;align-items:stretch;padding:14px;border:1px solid var(--v10-border);border-radius:34px;background:linear-gradient(180deg,#fff 0%,#f7fbf8 100%);box-shadow:var(--v10-shadow)}
.inbox-sidebar,.chat-panel{background:#fff;border:1px solid #e0ebe3;border-radius:26px;min-height:660px}
.inbox-sidebar{overflow:hidden}
.inbox-sidebar-head{padding:22px 22px 16px;border-bottom:1px solid #e8efe8;background:linear-gradient(180deg,#fcfefd 0%,#f5fbf7 100%)}
.inbox-sidebar-head h2{font-size:1.45rem}
.inbox-sidebar-head span{background:#e4f2e3;color:#1b6b51;border:1px solid #d4e7d4;padding:6px 12px;border-radius:999px;font-weight:800}
.thread-list{padding:10px;display:grid;gap:10px}
.thread-item{display:flex;gap:14px;align-items:flex-start;padding:16px;border-radius:20px;background:#fff;border:1px solid #e3ece5;text-align:left;transition:.2s}
.thread-item:hover,.thread-item.selected{background:#f2f8f2;border-color:#cee1d0;transform:translateY(-1px)}
.thread-avatar{width:48px;height:48px;border-radius:16px;background:linear-gradient(180deg,#1d6c53 0%,#155443 100%);color:#fff;display:grid;place-items:center;font-weight:800}
.thread-copy{display:grid;gap:6px;min-width:0;flex:1}
.thread-copy strong{color:#173b32}
.thread-copy small{color:#648073;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thread-copy-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
.thread-copy-top em{font-style:normal;font-size:.76rem;font-weight:700;color:#7d9387;background:#eef5ef;padding:6px 10px;border-radius:999px;border:1px solid #dbe7dd}
.thread-empty{padding:30px;color:#698175;line-height:1.7;text-align:center}
.chat-panel{display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}
.chat-head{display:flex;gap:14px;align-items:center;padding:22px;border-bottom:1px solid #e8efe9;background:linear-gradient(180deg,#fcfefd 0%,#f3faf5 100%)}
.chat-person-icon{width:54px;height:54px;border-radius:18px;background:#dcedde;color:#1d6a52;display:grid;place-items:center;font-weight:800}
.chat-head strong{font-size:1.25rem;color:#173b32}
.chat-head small{color:#6e877b}
.chat-messages{padding:24px;background:radial-gradient(circle at top right, rgba(200,231,205,.45), transparent 28%), linear-gradient(180deg,#f7fbf8 0%,#eef6f1 100%)}
.chat-intro{max-width:380px;margin:auto;text-align:center;padding:28px;background:#fff;border-radius:24px;border:1px solid #dce9de;box-shadow:0 14px 30px rgba(17,77,62,.06)}
.chat-intro-symbol{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 16px;border-radius:18px;background:#eff8ef;color:#1b6b52;font-size:1.6rem}
.bubble-line{display:flex;margin-bottom:12px}
.bubble-line.own{justify-content:flex-end}
.chat-bubble{max-width:min(68%,500px);padding:14px 16px;border-radius:22px;background:#fff;border:1px solid #deebe0;box-shadow:0 8px 18px rgba(17,77,62,.05)}
.bubble-line.own .chat-bubble{background:linear-gradient(180deg,#1b6b52 0%,#155243 100%);color:#fff;border-color:transparent;border-bottom-right-radius:10px}
.bubble-line:not(.own) .chat-bubble{border-bottom-left-radius:10px}
.chat-bubble p{margin:0;line-height:1.6}
.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:12px;padding:20px;border-top:1px solid #e8efe9;background:#fff}
.chat-compose input{height:58px;border-radius:18px;border:1px solid #dbe7dc;background:#f9fdf9;padding:0 18px;font-size:1rem}
.chat-compose button{border:none;border-radius:18px;background:linear-gradient(180deg,#1b6b52 0%,#155243 100%);color:#fff;font-weight:800}
.chat-compose button:disabled{opacity:.55}

.modal{max-width:920px;border-radius:34px;padding:0;background:linear-gradient(180deg,#fff 0%,#f7fbf8 100%);box-shadow:0 30px 80px rgba(0,0,0,.20);overflow:hidden}
.modal-close{top:20px;right:22px;width:44px;height:44px;border-radius:999px;background:#edf6ee;color:#245f4f}
#modalBody{padding:38px}
.request-modal-shell{display:grid;gap:24px}
.request-modal-intro{padding:0 0 8px 0}
.request-modal-intro h2{font-size:clamp(2rem,4vw,3.3rem);line-height:.98;margin:10px 0 12px;color:#173d33}
.request-modal-intro p{max-width:700px;color:#618071;line-height:1.65}
.request-modal-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.request-modal-badges span{padding:10px 14px;border-radius:999px;background:#eff7ef;color:#1c6b52;font-weight:700;border:1px solid #d6e7d6}
.modal-form-request{display:grid;gap:18px}
.modal-section{padding:22px;border:1px solid #dce8de;border-radius:26px;background:#fff;box-shadow:0 10px 28px rgba(17,77,62,.04)}
.modal-section h3{font-size:1.15rem;margin-bottom:16px;color:#183d34}
.modal-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.request-tip{display:flex;flex-direction:column;justify-content:center;min-height:100%;padding:18px;border-radius:18px;background:#f3faf4;border:1px dashed #cde0cf;color:#60796e}
.request-tip span{font-weight:800;color:#1a634c;margin-bottom:6px}
.modal-form label input,.modal-form label select,.modal-form label textarea{background:#fbfefb;border:1px solid #d9e6db;border-radius:18px;padding:16px 18px}
.upload-dropzone{display:grid;place-items:center;gap:6px;text-align:center;padding:28px;border:1.5px dashed #c9dfcd;border-radius:24px;background:linear-gradient(180deg,#f8fcf8 0%,#f1f8f2 100%);cursor:pointer;color:#648073}
.upload-dropzone input{display:none}
.upload-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#e4f3e4;color:#1b6b52;font-size:2rem;line-height:1}
.upload-dropzone strong{font-size:1.1rem;color:#173d33}
.image-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin-top:14px}
.image-preview img{width:100%;height:110px;border-radius:18px;object-fit:cover;border:1px solid #dce7dd;box-shadow:0 10px 20px rgba(17,77,62,.08)}
.modal-help{color:#658072;background:#f2f8f2;border:1px solid #d6e4d7;padding:14px 16px;border-radius:18px}
.modal-actions{padding-top:4px}

@media (max-width: 1080px){
  .inbox-layout{grid-template-columns:1fr}
  .inbox-sidebar,.chat-panel{min-height:unset}
}
@media (max-width: 860px){
  #page-requests .section-head,
  #page-dashboard .section-head,
  #page-inbox .inbox-heading{padding:26px 22px;border-radius:28px;flex-direction:column}
  .panel-grid{grid-template-columns:1fr}
  .dashboard-tabs{width:100%}
  .modal-grid-two{grid-template-columns:1fr}
  .request-pictures{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 680px){
  #page-requests .subpage,
  #page-dashboard .subpage,
  #page-inbox .subpage{padding-top:28px;padding-bottom:48px}
  #page-requests .section-head h1,
  #page-dashboard .section-head h1,
  #page-inbox .inbox-heading h1{font-size:2.2rem}
  #page-requests .filterbar{padding:12px;border-radius:22px}
  #page-requests .filterbar select{min-width:unset;width:100%}
  .request-card{padding:20px;border-radius:24px}
  .request-card h3{font-size:1.55rem}
  .request-bottom{flex-direction:column;align-items:flex-start}
  .dashboard-tabs{padding:6px;border-radius:18px}
  .dashboard-tabs button{width:100%}
  .form-card,.side-info,.dashboard-intro,.empty,.work-card{border-radius:24px}
  .form-card,.side-info{padding:22px}
  .inbox-layout{padding:10px;border-radius:24px}
  .inbox-sidebar,.chat-panel{border-radius:22px}
  .chat-compose{grid-template-columns:1fr}
  .chat-bubble{max-width:86%}
  .modal{max-width:min(100vw - 20px,920px);border-radius:28px}
  #modalBody{padding:24px 18px 20px}
  .request-modal-intro h2{font-size:2rem}
  .request-modal-badges span{font-size:.85rem}
}
