/* Owner pages: Submit Your Property (/list/) and Manage your properties (/my-properties/). Loaded after /home/home.css. */
:root { --line: #cfe1e4; --sea: var(--teal); --sea-dark: var(--teal-dark); --foam: #eef8f8; --err: #b3261e; }
body.owner { background: #f6fbfb; }

/* ---- shared form pieces ---- */
.owner h2 { color: var(--navy); }
.status { min-height: 1.4em; color: var(--err); font-weight: 600; margin: 4px 0; }
.status.ok { color: var(--sea-dark); }
.fine { font-size: .87rem; color: var(--muted); margin: 4px 0; }
.field { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.field label, .field > legend { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 4px; }
.req { color: var(--coral); }
.owner input[type=text], .owner input[type=email], .owner input[type=tel], .owner input[type=url], .owner input[type=password],
.owner input[type=number], .owner input[type=time], .owner select, .owner textarea {
  width: 100%; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b9d3d8; border-radius: 10px;
}
.owner input:focus, .owner select:focus, .owner textarea:focus { border-color: var(--teal); outline: 3px solid rgba(18,161,166,.25); outline-offset: 0; }
.grid { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: 1fr 1fr 1fr; } }
.owner button { font: inherit; cursor: pointer; }
.owner .btn { border: 0; margin: 6px 6px 6px 0; }
.owner .btn:disabled { background: #8aa6b0; cursor: not-allowed; transform: none; }
.btn.alt { background: #fff; color: var(--teal-dark); border: 2px solid var(--teal); padding: 10px 20px; }
.btn.alt:hover { background: var(--foam); }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-dark); text-decoration: underline; font-weight: 600; }
.acctbar { display: flex; justify-content: flex-end; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); min-height: 1.6em; }
.acctbar button { background: none; border: 0; color: var(--teal-dark); text-decoration: underline; font-weight: 600; }
.pagelink { font-weight: 600; margin: 4px 0 10px; } .pagelink a { color: var(--teal-dark); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; margin: 12px 0; }
.check input { width: 20px; height: 20px; accent-color: var(--teal-dark); }
.terms { list-style: disc; padding-left: 20px; } .terms li { margin: 5px 0; }
.box { border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: 12px 16px 6px; margin: 0 0 16px; }
.box legend { font-weight: 800; color: var(--navy); padding: 0 6px; }
.ogprev { display: flex; gap: 12px; align-items: center; margin: 8px 0 12px; }
.ogprev img { width: 120px; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; background: var(--foam); }

/* ---- Manage your properties ---- */
.mp { max-width: 860px; margin: 0 auto; padding: 18px 16px 60px; }
.mp h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--navy); letter-spacing: -.02em; }
.mp section > h2 { font-size: 1.35rem; margin: 18px 0 10px; }
.notice { background: #fff7e0; border: 2px solid #f2a900; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.condo { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(11,58,79,.06); }
.condo h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.2rem; }
.condo p { margin: 8px 0; }
.condo code { display: block; word-break: break-all; background: var(--foam); padding: 8px; border-radius: 8px; font-size: .8rem; margin: 6px 0; }
.chip { display: inline-block; font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 999px; background: var(--foam); color: var(--teal-dark); }
.chip.warn { background: #fff0d1; color: #6b4700; } .chip.ok { background: #dff5e6; color: #14582c; }
.stays { list-style: disc; padding-left: 18px; }
.todo { border: 2px solid var(--teal); background: var(--foam); border-radius: 12px; padding: 10px 14px; margin: 10px 0; }
.offer { border: 2px solid #f2a900; background: #fffaf0; border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.offer h4 { margin: 0 0 6px; color: var(--navy); font-size: 1.05rem; }
.rategrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px 12px; margin: 8px 0; }
.rategrid div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.rategrid b { display: block; color: var(--navy); }
.weeks h3 { margin: 16px 0 6px; color: var(--navy); }
.wk { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 6px; }
.wk .st { font-size: .9rem; font-weight: 700; } .wk .st.open { color: #14582c; } .wk .st.closed { color: #8a5a00; } .wk .st.locked { color: var(--muted); }
.wk .btn { margin: 0; padding: 7px 14px; }
.authcard { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 8px 26px rgba(11,58,79,.1); max-width: 560px; }

/* ---- Submit Your Property (matches the mockup) ---- */
.sp-hero { position: relative; overflow: hidden; min-height: 300px; }
.sp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.sp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.75) 38%, rgba(255,255,255,0) 66%); }
.sp-hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 22px 20px 96px; }
.sp-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.03; color: var(--navy); letter-spacing: -.03em; }
.sp-hero p { font-size: clamp(1.1rem, 2.6vw, 1.6rem); color: var(--navy); max-width: 26ch; line-height: 1.25; margin-top: 10px; font-weight: 500; }
.sp-wrap { position: relative; z-index: 2; max-width: 1180px; margin: -70px auto 0; padding: 0 14px 50px; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .sp-wrap { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); align-items: start; } }
.sp-card { background: #fff; border-radius: 24px; box-shadow: 0 10px 30px rgba(11,58,79,.14); padding: 20px 22px 26px; }
.sp-head { display: flex; gap: 16px; align-items: center; margin-bottom: 6px; }
.sp-head-ic { width: 76px; height: 76px; flex: none; border-radius: 18px; background: linear-gradient(135deg, #12a1a6, #0d7f86); display: grid; place-items: center; }
.sp-head-ic svg { width: 50px; height: 50px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-head h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.1; }
.sp-head p { color: var(--ink); font-size: 1.02rem; margin-top: 4px; }
.sp-sec { border: 0; padding: 0; margin: 16px 0 6px; min-width: 0; }
.sp-sec > legend { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 1.35rem; font-weight: 800; color: var(--navy); padding: 4px 0; margin-bottom: 10px;
  background: linear-gradient(90deg, #dff3f3 0%, rgba(223,243,243,0) 100%); border-radius: 999px; }
.sp-ic { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--teal-dark); display: grid; place-items: center; }
.sp-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-checks { display: grid; gap: 8px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 10px; }
@media (min-width: 620px) { .sp-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 820px) { .sp-checks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sp-checks label, .sp-months label { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 500; }
.sp-checks input, .sp-months input { width: 20px; height: 20px; flex: none; accent-color: var(--teal-dark); }
.sp-other { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; }
.sp-other input[type=text] { max-width: 240px; padding: 6px 10px; }
.sp-avail { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .sp-avail { grid-template-columns: 1fr 1fr; } .sp-avail > div + div { border-left: 1.5px solid var(--line); padding-left: 16px; } }
.sp-months { display: grid; gap: 10px 8px; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 0; padding: 0; margin: 0; }
.sp-months legend { font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 8px; }
.sp-submit { display: flex; justify-content: center; align-items: center; gap: 10px; width: min(100%, 460px); margin: 22px auto 0 !important; font-size: 1.2rem; padding: 15px 26px; }
.sp-acct { margin-top: 18px; border-top: 2px solid var(--line); padding-top: 14px; }
.sp-acct h3 { font-size: 1.4rem; color: var(--navy); }
.sp-side { display: grid; gap: 16px; }
.sp-photo { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(11,58,79,.14); background: #fff; padding: 8px; }
.sp-photo img { border-radius: 14px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-box { background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(11,58,79,.12); overflow: hidden; }
.sp-box h2 { font-size: 1.55rem; padding: 12px 20px; background: linear-gradient(90deg, #dff3f3, #f3fbfb); }
.sp-why { padding: 12px 20px 16px; display: grid; gap: 10px; }
.sp-why li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.sp-why svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--teal-dark); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.sp-how { padding: 6px 20px 14px; list-style: none; }
.sp-how li { display: grid; grid-template-columns: 38px 50px 1fr; gap: 12px; align-items: center; padding: 12px 0; position: relative; }
.sp-how li + li { border-top: 1px solid var(--line); }
.sp-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-weight: 800; font-size: 1.1rem; }
.sp-how svg { width: 46px; height: 46px; fill: none; stroke: var(--teal-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sp-how h3 { font-size: 1.12rem; color: var(--navy); line-height: 1.15; }
.sp-how p { font-size: .92rem; color: var(--ink); }
.sp-promise { display: flex; align-items: center; gap: 14px; padding: 22px 20px; background: linear-gradient(180deg, #e4f4f3, #fff); border-radius: 20px; box-shadow: 0 10px 30px rgba(11,58,79,.1); }
.sp-promise .mark { width: 64px; height: 64px; flex: none; }
.sp-promise p { font-size: 1.25rem; font-weight: 800; font-style: italic; color: var(--navy); line-height: 1.2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Experience partner sign up extras ---- */
.sp-hero p.sp-italic { font-style: italic; color: var(--teal-dark); font-weight: 700; max-width: 30ch; }
.sp-opt, .field .sp-opt { display: flex; color: var(--ink); font-size: 1rem; align-items: center; gap: 8px; font-weight: 500; margin: 6px 0; }
.sp-opt input { width: 20px; height: 20px; accent-color: var(--teal-dark); }
#a-offer legend, #a-avail legend { margin-bottom: 4px; }
.sp-months.sp-indent { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 28px; margin-top: 6px; }
.sp-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sp-trio img { aspect-ratio: 3 / 4; border-radius: 12px; }
.sp-ex { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 12px 14px 16px; text-align: center; }
.sp-ex li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--navy); line-height: 1.15; }
.sp-ex svg { width: 40px; height: 40px; fill: none; stroke: var(--teal-dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Quick application (listing link) or describe the property */
.sp-mode { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
@media (min-width: 620px) { .sp-mode { grid-template-columns: 1fr 1fr; } }
.sp-mode legend { font-weight: 800; color: var(--navy); margin-bottom: 8px; font-size: 1.05rem; }
.sp-mode-opt { display: flex; gap: 10px; align-items: flex-start; border: 2px solid #d8e6ea; border-radius: 14px; padding: 12px 14px; cursor: pointer; background: #fff; }
.sp-mode-opt:has(input:checked) { border-color: var(--teal); background: #eef8f8; }
.sp-mode-opt input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal-dark); }
.sp-mode-opt strong { display: block; color: var(--navy); }
.sp-mode-opt small { display: block; color: var(--muted, #4a6470); font-size: .9rem; margin-top: 2px; }

/* Experience partner: questions for the type of experience */
.sp-qs:empty { display: none; }
.sp-qs { border-top: 1px dashed #cfe0e5; margin-top: 6px; padding-top: 12px; }
.sp-qs-h { font-weight: 800; color: var(--navy); margin: 0 0 8px; }

/* Cleaning & stocking choice */
.sp-stock { display: grid; gap: 8px; margin-top: 8px; }
.sp-stock label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #d6e3e8; border-radius: 12px; padding: 10px 12px; background: #fff; cursor: pointer; font-size: .93rem; line-height: 1.35; }
.sp-stock label:has(input:checked) { border-color: #12a1a6; background: #eef9f9; }
.sp-stock input { margin-top: 3px; accent-color: #12a1a6; }
.sp-stock em { font-style: normal; font-size: .75rem; font-weight: 700; color: #0d6f86; background: #dff3f3; border-radius: 99px; padding: 1px 8px; margin-left: 4px; }

/* Owner dashboard operations (prototype) */
.ops { display: grid; gap: 16px; margin-top: 18px; }
.op-card { background: #fff; border: 1px solid #d6e3e8; border-radius: 16px; padding: 16px; min-width: 0; }
.op-card h3 { margin: 0 0 6px; }
.op-radios { display: grid; gap: 8px; margin: 10px 0; }
@media (min-width: 900px) { .op-radios { grid-template-columns: repeat(3, 1fr); } }
.op-radio { display: flex; gap: 8px; align-items: flex-start; border: 1px solid #d6e3e8; border-radius: 12px; padding: 10px; font-size: .9rem; line-height: 1.35; cursor: pointer; }
.op-radio:has(input:checked) { border-color: #12a1a6; background: #eef9f9; }
.op-radio input { margin-top: 3px; accent-color: #12a1a6; }
.op-radio em { font-style: normal; font-size: .72rem; font-weight: 700; color: #0d6f86; background: #dff3f3; border-radius: 99px; padding: 1px 7px; }
.op-sum { margin: 4px 0 12px; }
.op-res { border: 1px solid #d6e3e8; border-radius: 14px; padding: 14px; margin-top: 12px; background: #fbfdfd; min-width: 0; }
.op-res.past { background: #f6f8f9; }
.op-rhead { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.op-rhead h4 { margin: 0; font-size: 1.05rem; }
.op-rhead p { margin: 2px 0 0; }
.op-res .chip.ok { background: #dff3e6; color: #17643a; }
.op-res .chip.warn { background: #fff1dc; color: #8a5300; }
.op-grid { display: grid; gap: 12px; margin-top: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .op-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .op-grid { grid-template-columns: repeat(4, 1fr); } }
.op-grid h5 { margin: 0 0 4px; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: #0d6f86; }
.op-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; font-size: .92rem; }
.op-food, .op-check { margin-top: 12px; border-top: 1px solid #e3ecef; padding-top: 10px; }
.op-food summary, .op-check summary { cursor: pointer; font-weight: 700; color: #0d6f86; }
.op-food { overflow-x: auto; }
.op-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 8px; min-width: 520px; }
.op-table th, .op-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e3ecef; vertical-align: top; }
.op-check fieldset { border: 0; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; }
.op-check legend { font-weight: 700; margin-bottom: 4px; }
.op-check .check { font-size: .92rem; }
.op-reports { font-size: .88rem; margin: 8px 0; }
.op-links { margin: 12px 0 0; }
.op-pasth { margin: 18px 0 0; }
