/* One connected project: focused controls, colorful tools and a single team list. */
.project-back { margin-bottom: 2px; font-weight: 650; }
.hub-shell #hubPanel .project-hero,
.shared-project-page .project-hero { min-height: 282px; margin: 16px 0 20px; border: 0; border-radius: 28px; background: #073d31; box-shadow: 0 12px 32px #132d2417; }
.project-hero > img { object-position: center 55%; }
.project-hero::after { background: linear-gradient(90deg, #062e28ed, #083b31b8 57%, #12362c3d); }
.project-hero > div { padding: 30px 34px; }
.hub-shell #hubPanel .project-hero h1,
.shared-project-page .project-hero h1 { color: #fff !important; font-size: clamp(34px, 3.5vw, 52px) !important; line-height: 1.12 !important; letter-spacing: -.035em; margin: 18px 0; max-width: 900px; text-shadow: 0 2px 15px #031c2570; }
.project-hero .hub-pill { font-size: 11px; font-weight: 650; letter-spacing: .03em; color: white; background: #ffffff18; border-color: #ffffff60; }
.project-facts { color: #fff; margin-bottom: 24px; gap: 12px 22px; font-size: 13px; }
.project-facts > span { min-width: 0; overflow-wrap: anywhere; }
.project-facts .icon-wrap { flex: none; }
.project-hero .button-row { gap: 10px; }
.project-hero .button-row > button { min-height: 44px; padding: 12px 17px; border-radius: 14px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.project-hero .project-share-overview { background: #c9f75a; color: #1b3520; border: 1px solid #e7ffae; box-shadow: 0 3px 10px #09261e25; }
.project-hero .project-share-overview:hover { background: #dbff85; }
.project-hero .light-button { background: #fff; color: #11583e; border: 1px solid white; }
.project-hero .project-edit-button { background: #082e285e; color: white; border: 1px solid #ffffff68; }
.project-hero .project-edit-button:hover { background: #ffffff20; }
.project-dashboard { margin: 0 0 20px; display: block; }
.project-connected-grid { grid-template-columns: 1.25fr 1fr; gap: 16px; }
.project-connected-grid > * { min-width: 0; }
.project-dashboard .connected-budget,
.shared-project-page .connected-budget { padding: 25px; border: 1px solid #008c67; border-radius: 24px; background: #087a59; color: #fff; box-shadow: 0 6px 18px #10463610; backdrop-filter: none; }
.project-dashboard .connected-budget .eyebrow,
.shared-project-page .connected-budget .eyebrow { color: #ddfff0; font-size: 11px; letter-spacing: .06em; font-weight: 650; }
.hub-shell #hubPanel .project-dashboard .connected-budget h2,
.shared-project-page .connected-budget h2 { color: white; font-size: clamp(30px, 3vw, 42px); margin: 12px 0 6px; font-weight: 650; letter-spacing: -.055em; }
.project-dashboard .connected-budget p,
.shared-project-page .connected-budget p { color: #e5fff2; font-size: 12px; margin: 0 0 20px; }
.project-dashboard .connected-money,
.shared-project-page .connected-money { gap: 16px 22px; }
.project-dashboard .connected-money small,
.shared-project-page .connected-money small { color: #d2f4e6; font-size: 10px; }
.project-dashboard .connected-money strong,
.shared-project-page .connected-money strong { color: white; font-size: 15px; font-weight: 650; }
.project-dashboard .connected-ring,
.shared-project-page .connected-ring { width: 104px; height: 104px; background: conic-gradient(from -90deg, #ccff72 var(--portion), #ffffff30 0); box-shadow: none; }
.project-dashboard .connected-ring b,
.shared-project-page .connected-ring b { width: 81px; height: 81px; background: #076449; color: white; font-size: 25px; }
.project-dashboard .connected-ring small,
.shared-project-page .connected-ring small { color: #d9ffe9; font-size: 10px; }
.project-dashboard .connected-next { display: flex; flex-direction: column; justify-content: center; padding: 24px; border: 1px solid #cab0f7; border-radius: 24px; background: #e6d9ff; box-shadow: none; backdrop-filter: none; color: #34204f; }
.project-card-heading { display: flex; align-items: center; gap: 11px; min-width: 0; }
.hub-shell #hubPanel .project-card-heading h2 { color: inherit; font-family: var(--hub-font, 'DM Sans', sans-serif); font-size: 18px; font-weight: 700; letter-spacing: -.025em; margin: 0; }
.project-section-icon { display: inline-grid; place-items: center; flex: none; width: 37px; height: 37px; border-radius: 12px; color: #6b2fc1; background: #fff9; }
.project-section-icon .icon { width: 21px; height: 21px; }
.project-dashboard .connected-progress { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; margin: 22px 0 20px; }
.project-dashboard .connected-progress span { display: grid; gap: 7px; min-width: 0; }
.project-dashboard .connected-progress strong { font-size: 31px; color: #382052; font-weight: 650; line-height: 1; letter-spacing: -.045em; }
.project-dashboard .connected-progress strong i { font-size: 17px; color: #655077; font-style: normal; font-weight: 500; }
.project-dashboard .connected-progress small { font-size: 11px; color: #59436f; line-height: 1.4; }
.project-dashboard .connected-bar { height: 8px; background: #fff9; border-radius: 9px; overflow: hidden; margin: 0; }
.project-dashboard .connected-bar > i { display: block; height: 100%; background: #7842d6; border-radius: inherit; }
.project-dashboard .connected-private { padding: 25px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #2e5547; background: #e1f6ec; border: 1px solid #a8dac5; box-shadow: none; font-size: 13px; }
.project-tool-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; }
.project-tool { --tool-color: #6e39cb; --tool-light: #f0e8ff; min-width: 0; min-height: 108px; position: relative; padding: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; color: #25392f; background: #fff; border: 1px solid #dce7df; border-radius: 19px; box-shadow: 0 3px 12px #283b2f06; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.project-tool:hover { transform: translateY(-3px); border-color: var(--tool-color); box-shadow: 0 8px 18px #27392c13; }
.project-tool:active { transform: scale(.97); }
.project-tool-icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--tool-color); color: white; box-shadow: 0 4px 10px color-mix(in srgb, var(--tool-color) 24%, transparent), inset 0 1px #ffffff50; }
.project-tool-icon .icon { width: 23px; height: 23px; }
.project-tool > strong { color: #22382d; font-size: 12px; line-height: 1.35; letter-spacing: -.01em; font-weight: 700; }
.project-tool > .icon-wrap:last-child { position: absolute; right: 13px; top: 20px; color: var(--tool-color); opacity: .8; }
.project-tool > .icon-wrap:last-child .icon { width: 17px; height: 17px; }
.project-tool-tasks { --tool-color: #7541cf; --tool-light: #f0e8ff; }
.project-tool-guests { --tool-color: #ed6b3e; --tool-light: #fff0e6; }
.project-tool-budget { --tool-color: #0b9364; --tool-light: #e4fff2; }
.project-tool-seating { --tool-color: #277ccd; --tool-light: #e6f3ff; }
.project-tool-registry { --tool-color: #d54685; --tool-light: #ffe8f2; }
.project-tool-gallery { --tool-color: #b347d5; --tool-light: #f7e9ff; }
.project-tool-website { --tool-color: #1a918f; --tool-light: #dff8f4; }
.project-tool-vision { --tool-color: #c37512; --tool-light: #fff2d9; }
.project-tool-music { --tool-color: #5855d9; --tool-light: #ededff; }
.project-tool-timeline { --tool-color: #cb5734; --tool-light: #fff0d9; }
.project-tool-stationery { --tool-color: #d4533c; --tool-light: #ffebe4; }
.project-tool:focus-visible,
.project-hero button:focus-visible,
.team-card summary:focus-visible { outline: 3px solid var(--tool-color, #8446db); outline-offset: 4px; }
.project-tool-nav:has(.project-tool:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-tool-nav:has(.project-tool:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-tool-nav:has(.project-tool:only-child) { grid-template-columns: minmax(0, 260px); }
.project-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-bottom: 26px; align-items: start; }
.project-layout > :is(.project-brief, .project-contact, .project-shared-notes) { min-width: 0; border-radius: 23px; padding: 24px; box-shadow: none; backdrop-filter: none; }
.project-layout .project-brief { border: 1px solid #d8e6dc; background: #fff; color: #213a2d; }
.project-brief .project-section-icon { color: #0b875c; background: #daf7e9; }
.project-brief > p { margin: 19px 0; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.project-brief .tracker-note { font-size: 11px; color: #577064; padding: 12px 0 0; border-top: 1px solid #e1e9e3; background: none; margin-top: 18px; }
.project-layout .project-contact { border: 1px solid #a9ddc7; background: #d2f5e4; color: #154e36; grid-column: 2; grid-row: 1 / span 2; }
.project-contact .project-section-icon { color: #08784d; background: #fff9; }
.hub-shell #hubPanel .project-contact h3 { color: #164b34; font-family: var(--hub-font, 'DM Sans', sans-serif); font-size: 18px; margin: 22px 0 8px; font-weight: 700; }
.project-contact > p { color: #245e45; font-size: 13px; margin: 5px 0; line-height: 1.6; }
.project-contact .shared-profile { margin-top: 18px; }
.project-contact .shared-profile > p { font-size: 12px; line-height: 1.7; color: #315e4c; }
.project-contact .social-links a { background: #fff; border-color: #a6d6bf; color: #155c3e; }
.project-layout .project-shared-notes { grid-column: 1; background: #fff2ce; border: 1px solid #efcf76; color: #654515; }
.project-shared-notes .project-section-icon { color: #a86b12; background: #fffc; }
.project-shared-notes .connected-heading { margin: 0 0 17px; align-items: center; gap: 12px; }
.project-shared-notes .connected-heading > .text-button { color: #795015; flex: none; min-height: 40px; padding: 8px; font-size: 12px; }
.project-shared-notes p { font-size: 13px; line-height: 1.7; color: #715626; margin: 0; }
.project-team { padding: 0; margin: 0 0 24px; }
.project-team > .panel-heading { align-items: center; margin: 0 0 16px; }
.hub-shell #hubPanel .project-team > .panel-heading h2 { font-family: var(--hub-font, 'DM Sans', sans-serif); font-size: 23px; font-weight: 650; color: var(--hp-ink, #213d2e); margin: 0; letter-spacing: -.03em; }
.project-team .team-count { color: #54318c; background: #e7dbff; padding: 5px 11px; margin-left: 6px; font-size: 13px; font-weight: 700; }
.project-team > .panel-heading .primary { background: var(--hp-strong, #087d57); color: white; border-radius: 13px; padding: 12px 16px; font-size: 12px; min-height: 44px; }
.project-team .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.project-team .team-card { padding: 20px; background: #fff; border: 1px solid #d9e5dc; border-radius: 22px; box-shadow: 0 3px 14px #28362c06; }
.team-card-identity { display: flex; gap: 12px; align-items: center; }
.team-avatar { display: grid; place-items: center; flex: none; width: 58px; height: 64px; border-radius: 15px; background: #def5e9; color: #0f865b; overflow: hidden; }
.team-avatar > img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar .icon { width: 28px; height: 28px; }
.team-card-identity > div { min-width: 0; }
.team-card-identity small { font-size: 10px; color: #52735d; }
.hub-shell #hubPanel .team-card-identity h3 { font-size: 17px; font-weight: 700; color: #234732; font-family: var(--hub-font, 'DM Sans', sans-serif); line-height: 1.25; margin: 5px 0 8px; }
.team-card-identity .status { padding: 4px 7px; background: #e2faed; color: #117345; font-size: 9px; letter-spacing: 0; }
.team-card-price { padding: 15px 0; margin: 15px 0 0; border-top: 1px solid #e5ece7; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.team-card-price small { font-size: 11px; color: #5a7162; }
.team-card-price strong { color: #164c31; font-size: 17px; font-variant-numeric: tabular-nums; }
.team-card-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.team-card-actions .text-button { min-height: 38px; padding: 8px 0; color: #39684a; font-size: 12px; }
.team-card-actions .icon { width: 17px; height: 17px; }
.team-card-details { border-top: 1px solid #e5ece7; margin-top: 8px; padding-top: 8px; }
.team-card-details > summary { min-height: 38px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 12px; color: #385843; font-weight: 650; list-style: none; }
.team-card-details > summary::-webkit-details-marker { display: none; }
.team-card-details > summary .icon-wrap { transition: transform .2s; }
.team-card-details[open] > summary .icon-wrap { transform: rotate(90deg); }
.team-card-details > strong { display: block; font-size: 13px; margin-top: 16px; color: #294d38; }
.team-card-details > p { font-size: 12px; line-height: 1.7; color: #536d5b; }
.team-card-details .team-contact { padding-top: 14px; margin-top: 16px; font-size: 12px; line-height: 1.5; }
.team-card-details .team-remove { color: #9d5149; margin-top: 15px; }
.project-team-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 17px; background: #fff; border: 1px dashed #b7d8c5; border-radius: 22px; padding: 24px; }
.project-team-empty > .icon-wrap { display: grid; place-items: center; width: 49px; height: 49px; background: #d9f5e6; border-radius: 15px; color: #138454; flex: none; }
.hub-shell #hubPanel .project-team-empty h3 { color: #2d4f3c; font-family: var(--hub-font, 'DM Sans', sans-serif); font-weight: 650; font-size: 16px; margin: 0 0 6px; }
.project-team-empty p { color: #58705f; font-size: 12px; margin: 0; line-height: 1.6; }
.project-pending:empty { display: none; }
.project-pending { margin: 16px 0 0; }
.project-pending .pending-row { background: #fff3ce; color: #6c4b1c; padding: 14px 17px; border: 1px solid #eacf8f; font-size: 12px; }
.invitation-panel { border: 1px solid #c3a3f2; background: #ece0ff; border-radius: 24px; padding: 28px; }
.invitation-panel h2 { color: #482773; }
.invitation-panel > p { color: #5d437d; font-size: 13px; line-height: 1.7; }
.project-grid { gap: 18px; }
.project-tile { border-radius: 24px; border-color: #d7e3d9; background: #fff; }
.project-tile-copy { padding: 21px; gap: 10px; }
.project-tile-copy > strong { color: var(--workspace-ink,#274f38); font-family:var(--hub-font,inherit); }
.project-tile-copy > span { color:var(--workspace-muted,#42604d); font-size:12px; }
.project-tile-copy small { color:var(--workspace-muted,#427257); font-size:12px; }
.project-empty { border: 1px solid #d3b6f1; background: #e8d8ff; border-radius: 24px; }
.project-empty > img { height: 280px; }
.project-empty > div { padding: 30px; }
.hub-shell #hubPanel .project-empty h2 { font-family: var(--hub-font, 'DM Sans', sans-serif); font-size: 28px; color: #4e2d72; font-weight: 650; line-height: 1.2; }
.project-empty p { color: #694883; font-size: 14px; line-height: 1.7; }
.shared-project-page .connected-team { background: #fff; border: 1px solid #d9e5dc; backdrop-filter: none; }
.shared-project-page .connected-team .connected-heading { color: #245638; font-weight: 700; }
.shared-project-page .connected-person { background: #eefbf3; border: 1px solid #cfebd9; }
.shared-project-page .connected-notes { background: #fff2ce; border: 1px solid #efd486; backdrop-filter: none; color: #604617; }
@media (max-width: 1150px) {
 .project-team .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .project-tool { padding: 13px; gap: 10px; }
 .project-tool > strong { font-size: 11px; }
 .project-tool > .icon-wrap:last-child { right: 9px; }
 .project-connected-grid { grid-template-columns: 1fr 1fr; }
 .project-dashboard .connected-budget { padding: 22px; }
 .project-dashboard .connected-ring { width: 82px; height: 82px; }
 .project-dashboard .connected-ring b { width: 63px; height: 63px; font-size: 21px; }
 .project-dashboard .connected-money { gap: 14px; }
 .project-dashboard .connected-money strong { font-size: 13px; }
 .project-dashboard .connected-progress { gap: 8px; }
 .project-dashboard .connected-progress strong { font-size: 27px; }
}
@media (max-width: 820px) {
 .project-connected-grid { grid-template-columns: 1fr; }
 .project-dashboard .connected-next { padding: 22px; }
 .project-dashboard .connected-progress { margin: 18px 0; }
 .project-tool-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
 .project-tool { min-height: 100px; padding: 12px; }
 .project-tool > .icon-wrap:last-child { display: none; }
 .project-layout { grid-template-columns: 1.2fr 1fr; }
 .project-layout > :is(.project-brief, .project-contact, .project-shared-notes) { padding: 20px; }
 .project-card-heading { gap: 9px; }
 .hub-shell #hubPanel .project-card-heading h2 { font-size: 16px; }
}
@media (max-width: 600px) {
 .hub-shell #hubPanel .project-hero,
 .shared-project-page .project-hero { min-height: 0; border-radius: 23px; margin: 14px 0 16px; }
 .project-hero::after { background: linear-gradient(90deg, #062e28eb, #083b31a8); }
 .project-hero > div { padding: 25px 22px; }
 .hub-shell #hubPanel .project-hero h1,
 .shared-project-page .project-hero h1 { font-size: 33px !important; margin: 17px 0; }
 .project-hero .hub-pill { font-size: 10px; }
 .project-facts { margin-bottom: 21px; font-size: 12px; gap: 10px 15px; }
 .project-hero .button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
 .project-hero .button-row > button { font-size: 11px; padding: 11px 9px; min-height: 43px; }
 .project-hero .button-row > .project-share-overview { grid-column: 1 / -1; }
 .project-dashboard { margin-bottom: 17px; }
 .project-connected-grid { gap: 12px; }
 .project-dashboard .connected-budget { padding: 22px; border-radius: 21px; }
 .project-dashboard .connected-budget .eyebrow { font-size: 10px; }
 .project-dashboard .connected-budget p { max-width: none; font-size: 11px; }
 .project-dashboard .connected-ring { align-self: center; margin-top: 0; }
 .project-dashboard .connected-money { gap: 12px 16px; }
 .project-dashboard .connected-money small { font-size: 9px; }
 .project-dashboard .connected-next { border-radius: 21px; }
 .project-dashboard .connected-progress strong { font-size: 29px; }
 .project-dashboard .connected-progress small { font-size: 10px; }
 .project-tool-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 20px; }
 .project-tool { min-height: 74px; padding: 13px; flex-direction: row; align-items: center; gap: 10px; border-radius: 17px; background: linear-gradient(110deg, #fff 45%, var(--tool-light)); }
 .project-tool-icon { width: 36px; height: 36px; border-radius: 12px; }
 .project-tool-icon .icon { width: 21px; height: 21px; }
 .project-tool > strong { font-size: 11px; }
 .project-tool-nav:has(.project-tool:only-child) { grid-template-columns: 1fr; }
 .project-tool-nav:has(.project-tool:nth-child(3):last-child) { grid-template-columns: 1fr; }
 .project-tool-nav > .project-tool:last-child:nth-child(odd) { grid-column: 1 / -1; }
 .project-layout { grid-template-columns: 1fr; gap: 12px; }
 .project-layout .project-contact { grid-column: auto; grid-row: auto; }
 .project-layout .project-shared-notes { grid-column: auto; }
 .project-layout > :is(.project-brief, .project-contact, .project-shared-notes) { padding: 22px; border-radius: 21px; }
 .project-brief > p { font-size: 13px; }
 .project-contact h3 { margin-top: 17px; }
 .project-team > .panel-heading { flex-direction: row; align-items: center; gap: 12px; }
 .hub-shell #hubPanel .project-team > .panel-heading h2 { font-size: 20px; }
 .project-team > .panel-heading .primary { font-size: 11px; padding: 11px 12px; }
 .project-team .team-grid { grid-template-columns: 1fr; gap: 12px; }
 .project-team .team-card { padding: 20px; }
 .project-team-empty { padding: 22px; align-items: flex-start; }
 .project-pending .pending-row { align-items: flex-start; }
 .project-pending .pending-row .text-button { min-width: 74px; font-size: 11px; }
 .project-empty { grid-template-columns: 1fr; }
 .project-empty > img { height: 180px; }
 .project-empty > div { padding: 25px; }
 .hub-shell #hubPanel .project-empty h2 { font-size: 25px; }
 .invitation-panel { padding: 23px; }
 .shared-project-page .connected-budget { padding: 22px; gap: 15px; }
 .shared-project-page .connected-ring { width: 80px; height: 80px; }
 .shared-project-page .connected-ring b { width: 62px; height: 62px; font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
 .project-tool, .team-card-details > summary .icon-wrap { transition: none; }
 .project-tool:hover, .project-tool:active { transform: none; }
}

.hub-form-panel .project-start-guide{max-width:580px;color:#4d6357;line-height:1.6;margin:12px 0 23px}.connected-next .project-first-step{font-size:13px;line-height:1.5;color:#344f3b;margin:13px 0 0;max-width:420px}
