@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* RM Clients — portal πελάτη. Φωτεινό, ουδέτερο, με το brand χρώμα ως μοναδική έμφαση. */
.rmc-portal {
	--rmp-brand: #f29c1a;
	--ink: #1e2126;
	--ink2: #4c525c;
	--muted: #6f7680;
	--line: #e3e5e9;
	--soft: #f5f6f8;
	--paper: #fff;
	--ok: #1f8f5c;
	--info: #2f6fb6;
	--warn: #a86b00;
	--bad: #c7392e;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink);
	text-align: left;
	/* Ξεφεύγει από στενές στήλες περιεχομένου του θέματος. */
	width: min(1080px, calc(100vw - 32px)) !important;
	max-width: none !important;
	margin-left: calc(50% - min(540px, 50vw - 16px)) !important;
	margin-right: 0 !important;
}
.rmc-portal.rmc-login { width: auto !important; margin-left: auto !important; margin-right: auto !important; }
.rmc-portal *, .rmc-portal *::before, .rmc-portal *::after { box-sizing: border-box; }
.rmc-portal h2, .rmc-portal h3, .rmc-portal h4 { font-family: inherit; color: var(--ink); margin: 0; line-height: 1.25; letter-spacing: 0; text-transform: none; }
.rmc-portal p { margin: 0; }
.rmc-portal a { color: inherit; }
.rmc-portal :focus-visible { outline: 2px solid var(--rmp-brand); outline-offset: 2px; }
.rmc-notice { padding: 16px 20px; border: 1px solid #e3e5e9; border-radius: 10px; background: #f5f6f8; }
.rmc-loading, .rmp-load { color: var(--muted); padding: 40px 0; text-align: center; }

.rmp-preview { background: #fff6e5; border: 1px solid #f0d7a6; color: #7a5300; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; }
.rmp-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 6px 0 14px; flex-wrap: wrap; }
.rmp-logo img { max-height: 44px; max-width: 220px; display: block; }
.rmp-logo b { font-size: 20px; }
.rmp-who { display: flex; gap: 16px; align-items: center; color: var(--ink2); font-size: 14px; }
.rmp-who span { font-weight: 600; color: var(--ink); }
.rmp-who a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.rmp-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: thin; }
.rmp-nav a { padding: 10px 13px; text-decoration: none; color: var(--ink2); font-size: 14.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.rmp-nav a:hover { color: var(--ink); }
.rmp-nav a.on { color: var(--ink); border-bottom-color: var(--rmp-brand); font-weight: 600; }
.rmp-foot { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

.rmp-h { font-size: 22px; margin-bottom: 16px; }
.rmp-h-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.rmp-h-row .rmp-h { margin: 0; }
.rmp-back { display: inline-block; margin-bottom: 12px; color: var(--ink2); text-decoration: none; font-size: 14px; }
.rmp-back:hover { color: var(--ink); }
.rmp-muted { color: var(--muted); }
.rmp-muted.d { display: block; font-size: 12.5px; }
.rmp-text { margin: 12px 0; }

.rmp-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin-bottom: 16px; text-decoration: none; }
.rmp-card > h3, .rmp-card > h2 { margin-bottom: 12px; }
.rmp-card h2 { font-size: 21px; }
.rmp-card h3 { font-size: 16.5px; }
.rmp-card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.rmp-card-h h3, .rmp-card-h h2 { margin: 0; }
.rmp-card-h a { font-size: 13.5px; color: var(--ink2); }
a.rmp-pcard:hover { border-color: #c9cdd3; }
.rmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.rmp-grid .rmp-card { margin: 0; }

.rmp-hero { display: grid; grid-template-columns: 1fr 300px; gap: 20px; margin-bottom: 18px; align-items: stretch; }
.rmp-hero h2 { font-size: 26px; margin-bottom: 8px; }
.rmp-hero p { color: var(--ink2); max-width: 60ch; }
.rmp-balance { border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; background: var(--soft); border: 1px solid var(--line); }
.rmp-balance span { color: var(--ink2); font-size: 13.5px; }
.rmp-balance b { font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rmp-balance small { color: var(--ok); }
.rmp-balance.due { border-color: color-mix(in srgb, var(--rmp-brand) 45%, white); background: color-mix(in srgb, var(--rmp-brand) 9%, white); }
.rmp-balance .rmp-btn { align-self: flex-start; margin-top: 6px; }
.rmp-todos { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.rmp-todos h3 { font-size: 15px; margin-bottom: 4px; }
.rmp-todo { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--rmp-brand); text-decoration: none; flex-wrap: wrap; }
.rmp-todo.late { border-left-color: var(--bad); }
.rmp-todo span { color: var(--ink2); }
.rmp-todo:hover { background: var(--soft); }

.rmp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--rmp-brand); background: var(--rmp-brand); color: #1b1306; font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.rmp-btn:hover { filter: brightness(1.06); color: #1b1306; }
.rmp-btn:disabled { opacity: .6; cursor: progress; }
.rmp-btn.ghost { background: transparent; border-color: #cfd3d9; color: var(--ink); font-weight: 500; }
.rmp-btn.ghost:hover { background: var(--soft); }
.rmp-btn.sm { height: 34px; padding: 0 13px; font-size: 13.5px; }
.rmp-btn.big { height: 50px; padding: 0 26px; font-size: 16px; }
.rmp-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }

.rmp-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 500; background: #eceef1; color: #4c525c; white-space: nowrap; }
.rmp-badge.t-ok { background: #e3f4ec; color: var(--ok); }
.rmp-badge.t-info { background: #e5effa; color: var(--info); }
.rmp-badge.t-warn { background: #fbf0d9; color: var(--warn); }
.rmp-badge.t-bad { background: #fbe6e4; color: var(--bad); }
.rmp-late { color: var(--bad); font-weight: 600; }
.rmp-soon { color: var(--warn); font-weight: 600; }

.rmp-prog { display: block; height: 7px; border-radius: 9px; background: #eceef1; overflow: hidden; flex: 1; }
.rmp-prog i { display: block; height: 100%; background: var(--rmp-brand); border-radius: 9px; }
.rmp-prog.big { height: 9px; margin: 12px 0 6px; }
.rmp-pcard small { color: var(--muted); }
.rmp-proj { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; }
.rmp-proj > div { flex: 1.3; min-width: 0; }
.rmp-proj b { display: block; font-weight: 500; }
.rmp-proj small { color: var(--muted); }
.rmp-proj em { font-style: normal; color: var(--ink2); font-variant-numeric: tabular-nums; width: 42px; text-align: right; }
.rmp-progress-row { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; }
.rmp-progress-row b { font-size: 28px; font-weight: 600; }
.rmp-progress-row .rmp-prog { margin: 0; }
.rmp-stages { display: flex; list-style: none; padding: 0; margin: 14px 0 12px; gap: 3px; }
.rmp-stages li { flex: 1; font-size: 12.5px; color: var(--muted); padding-top: 9px; border-top: 4px solid #eceef1; margin: 0; }
.rmp-stages li.past { border-top-color: color-mix(in srgb, var(--rmp-brand) 50%, white); color: var(--ink2); }
.rmp-stages li.now { border-top-color: var(--rmp-brand); color: var(--ink); font-weight: 600; }
.rmp-taskcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.rmp-taskcols h4 { font-size: 14px; margin-bottom: 8px; }
.rmp-taskcols h4 small { color: var(--muted); font-weight: 400; }
.rmp-taskcols ul { list-style: none; margin: 0; padding: 0; }
.rmp-taskcols li { padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); position: relative; margin: 0; font-size: 14.5px; }
.rmp-taskcols li::before { content: ''; position: absolute; left: 0; top: 12px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c3c8cf; }
.rmp-taskcols li.s-doing::before { border-color: var(--info); }
.rmp-taskcols li.s-review::before { border-color: var(--warn); }
.rmp-taskcols li.s-done::before { background: var(--ok); border-color: var(--ok); }
.rmp-taskcols li.s-done { color: var(--muted); }
.rmp-taskcols li small { display: block; color: var(--muted); font-size: 12.5px; }

.rmp-table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); margin-bottom: 16px; }
.rmp-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 14.5px; }
.rmp-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); background: var(--soft); padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); }
.rmp-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rmp-table tr:last-child td { border-bottom: 0; }
.rmp-table .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rmp-table.click tbody tr { cursor: pointer; }
.rmp-table.click tbody tr:hover { background: var(--soft); }
.rmp-table a { text-decoration: none; font-weight: 500; }
.rmp-card .rmp-table { margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.rmp-totals { display: grid; grid-template-columns: auto auto; justify-content: end; gap: 4px 28px; margin: 14px 0 0; font-variant-numeric: tabular-nums; }
.rmp-totals dt { color: var(--ink2); }
.rmp-totals dd { margin: 0; text-align: right; }
.rmp-totals .g { font-weight: 700; font-size: 18px; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 6px; }
.rmp-note { margin-top: 14px; padding: 12px 14px; background: var(--soft); border-radius: 8px; color: var(--ink2); }
.rmp-note b { color: var(--ink); }
.rmp-list { list-style: none; margin: 0; padding: 0; }
.rmp-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; }
.rmp-list li:last-child { border-bottom: 0; }
.rmp-list b { font-weight: 500; display: block; }
.rmp-list small { color: var(--muted); }
.rmp-files { list-style: none; margin: 0; padding: 0; }
.rmp-files li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; flex-wrap: wrap; }
.rmp-files a { font-weight: 500; overflow-wrap: anywhere; }
.rmp-files small { color: var(--muted); }

.rmp-pay { border-color: color-mix(in srgb, var(--rmp-brand) 45%, white); }
.rmp-pay > p { color: var(--ink2); margin-bottom: 14px; max-width: 62ch; }
.rmp-bank { margin-top: 16px; padding: 14px 16px; border: 1px dashed #cfd3d9; border-radius: 10px; }
.rmp-bank h4 { font-size: 14.5px; margin-bottom: 6px; }
.rmp-bank p { font-variant-numeric: tabular-nums; }
.rmp-contract { margin: 16px 0 8px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 8px; max-height: 60vh; overflow-y: auto; background: #fcfcfd; line-height: 1.7; }
.rmp-contract h1, .rmp-contract h2, .rmp-contract h3 { margin: 1em 0 .5em; }
.rmp-contract p { margin: 0 0 .8em; }
.rmp-sign .sig { font-size: 20px; height: 52px; font-style: italic; max-width: 460px; }
.rmp-sign > * + * { margin-top: 12px; }
.rmp-signed { padding: 14px 18px; border-radius: 10px; background: #e3f4ec; color: var(--ok); font-weight: 500; margin-bottom: 16px; }
.rmp-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.rmp-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--rmp-brand); flex: none; }
.rmp-decide textarea { margin-bottom: 4px; }

.rmp-thread { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rmp-thread li { padding: 12px 15px; border-radius: 12px; max-width: 86%; margin: 0; }
.rmp-thread li.me { align-self: flex-end; background: color-mix(in srgb, var(--rmp-brand) 11%, white); border: 1px solid color-mix(in srgb, var(--rmp-brand) 30%, white); }
.rmp-thread li.them { align-self: flex-start; background: var(--soft); border: 1px solid var(--line); }
.rmp-thread li > div { display: flex; gap: 10px; align-items: baseline; margin-bottom: 3px; }
.rmp-thread small { color: var(--muted); font-size: 12.5px; }
.rmp-thread p { overflow-wrap: anywhere; }
.rmp-reply { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.rmp-reply > .rmp-btn { align-self: flex-start; }
.rmp-reply .rmp-actions { margin-top: 0; }
.rmp-upload { display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border: 1px dashed #c3c8cf; border-radius: 8px; cursor: pointer; color: var(--ink2); font-size: 14px; }
.rmp-upload:hover { border-color: var(--ink2); }

.rmp-form .rmp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 14px 0 18px; }
.rmp-field { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.rmp-field.full { grid-column: 1 / -1; }
.rmp-field span { font-size: 13.5px; color: var(--ink2); font-weight: 500; }
.rmp-in { width: 100%; min-height: 44px; padding: 9px 12px; border-radius: 8px; border: 1px solid #cfd3d9; background: #fff; color: var(--ink); font: inherit; font-size: 15px; box-shadow: none; margin: 0; }
textarea.rmp-in { resize: vertical; line-height: 1.5; }
.rmp-in:focus { border-color: var(--rmp-brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rmp-brand) 22%, transparent); }

.rmp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.rmp-stats div { background: var(--soft); border-radius: 10px; padding: 14px; text-align: center; }
.rmp-stats b { display: block; font-size: 26px; font-weight: 600; }
.rmp-stats span { font-size: 13px; color: var(--ink2); }
.rmp-empty { text-align: center; padding: 48px 20px; border: 1px dashed #d6d9de; border-radius: 12px; color: var(--ink2); }
.rmp-empty p { margin: 0 auto 16px; max-width: 52ch; }
.rmp-flash:empty { display: none; }
.rmp-alert { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; background: #e3f4ec; color: #145c3b; border: 1px solid #bfe3d1; }
.rmp-alert.t-bad { background: #fbe6e4; color: #8f2219; border-color: #f2c3be; }
.rmp-alert.t-info { background: #e5effa; color: #1f4f85; border-color: #c4d9f1; }
.rmp-alert button { background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; padding: 0; }

/* Σύνδεση */
.rmc-login { display: flex; justify-content: center; padding: 30px 0; }
.rmc-login-card { width: min(420px, 100%); border: 1px solid #e3e5e9; border-radius: 14px; padding: 30px 30px 24px; background: #fff; border-top: 4px solid var(--rmc-brand, #f29c1a); }
.rmc-login-logo { max-height: 48px; max-width: 220px; display: block; margin-bottom: 18px; }
.rmc-login-brand { font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.rmc-login h2 { font-size: 22px; margin-bottom: 4px; }
.rmc-login .rmc-muted { color: #6f7680; margin-bottom: 18px; font-size: 14.5px; }
.rmc-login form p { margin: 0 0 14px; }
.rmc-login label { display: block; font-size: 13.5px; color: #4c525c; font-weight: 500; margin-bottom: 5px; }
.rmc-login input[type=text], .rmc-login input[type=password] { width: 100%; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid #cfd3d9; font: inherit; font-size: 15px; box-sizing: border-box; }
.rmc-login input[type=text]:focus, .rmc-login input[type=password]:focus { border-color: var(--rmc-brand, #f29c1a); outline: none; box-shadow: 0 0 0 3px rgba(242, 156, 26, .2); }
.rmc-login .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.rmc-login input[type=submit] { width: 100%; height: 46px; border: 0; border-radius: 8px; background: var(--rmc-brand, #f29c1a); color: #1b1306; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.rmc-login-lost { text-align: center; font-size: 14px; margin-top: 4px; }
.rmc-login-lost a { color: #4c525c; }

@media (max-width: 760px) {
	.rmp-hero { grid-template-columns: 1fr; }
	.rmp-form .rmp-fields { grid-template-columns: 1fr; }
	.rmp-stages { flex-wrap: wrap; }
	.rmp-stages li { flex: 1 1 30%; }
	.rmp-table-wrap .rmp-table thead { display: none; }
	.rmp-table-wrap .rmp-table tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); }
	.rmp-table-wrap .rmp-table td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
	.rmp-table-wrap .rmp-table td::before { content: attr(data-l); color: var(--muted); text-align: left; font-size: 13px; }
	.rmp-thread li { max-width: 100%; }
	.rmp-stats { grid-template-columns: 1fr; }
	.rmp-card { padding: 16px; }
}

/* ---- Σύγχρονη εμφάνιση (v1.1) ---- */
.rmc-portal { --line: #e7e9ee; --soft: #f6f7f9; --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06); --shadow-lg: 0 12px 32px -8px rgba(16, 24, 40, .14); }
.rmp-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.rmp-head { padding: 4px 0 18px; }
.rmp-who a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink2); font-size: 13.5px; }
.rmp-who a:hover { background: var(--soft); color: var(--ink); }
.rmp-who .rmp-i { width: 16px; height: 16px; }
.rmp-nav { gap: 4px; border: 0; background: var(--soft); padding: 5px; border-radius: 14px; margin-bottom: 24px; }
.rmp-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; margin: 0; border-radius: 10px; font-weight: 500; font-size: 14px; color: #5b6270; }
.rmp-nav a .rmp-i { width: 17px; height: 17px; color: #8b93a1; }
.rmp-nav a:hover { background: rgba(255, 255, 255, .7); }
.rmp-nav a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16, 24, 40, .1); font-weight: 600; }
.rmp-nav a.on .rmp-i { color: var(--rmp-brand); }
.rmp-card { border-radius: 16px; box-shadow: var(--shadow); border-color: var(--line); padding: 22px 24px; }
a.rmp-pcard { transition: box-shadow .15s, transform .15s; }
a.rmp-pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); border-color: var(--line); }
.rmp-hero { background: linear-gradient(120deg, color-mix(in srgb, var(--rmp-brand) 12%, white), #fff 70%); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.rmp-hero h2 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.rmp-balance { background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.rmp-balance.due { background: #fff; border-color: color-mix(in srgb, var(--rmp-brand) 40%, white); }
.rmp-balance b { font-weight: 700; letter-spacing: -.03em; }
.rmp-h { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.rmp-card h2 { font-weight: 700; letter-spacing: -.02em; }
.rmp-card h3 { font-weight: 600; }
.rmp-btn { border-radius: 10px; color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .25); }
.rmp-btn:hover { color: #fff; filter: brightness(.96); }
.rmp-btn .rmp-i { width: 17px; height: 17px; }
.rmp-btn.ghost { box-shadow: 0 1px 2px rgba(16, 24, 40, .05); background: #fff; }
.rmp-back { display: inline-flex; align-items: center; gap: 6px; }
.rmp-back .rmp-i { width: 16px; height: 16px; }
.rmp-badge { gap: 6px; }
.rmp-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rmp-todo { border-radius: 14px; box-shadow: var(--shadow); border-left-width: 1px; position: relative; padding-left: 20px; }
.rmp-todo::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--rmp-brand); }
.rmp-todo.late::before { background: var(--bad); }
.rmp-todo { border-left-color: var(--line); }
.rmp-table-wrap { border-radius: 16px; box-shadow: var(--shadow); }
.rmp-table th { background: #fafbfc; }
.rmp-prog { background: #edeff3; }
.rmp-prog i { background: linear-gradient(90deg, color-mix(in srgb, var(--rmp-brand) 70%, white), var(--rmp-brand)); }
.rmp-stages { gap: 6px; }
.rmp-stages li { border-top: 0; position: relative; padding-top: 14px; }
.rmp-stages li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 6px; background: #edeff3; }
.rmp-stages li.past::before { background: color-mix(in srgb, var(--rmp-brand) 45%, white); }
.rmp-stages li.now::before { background: var(--rmp-brand); }
.rmp-thread li { border-radius: 16px; box-shadow: var(--shadow); }
.rmp-thread li.me { border-top-right-radius: 4px; }
.rmp-thread li.them { border-top-left-radius: 4px; background: #fff; }
.rmp-files li { align-items: center; }
.rmp-files a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.rmp-in { border-radius: 10px; border-color: #d9dde4; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.rmp-empty { border-radius: 16px; background: var(--soft); border: 1px dashed #d9dde4; }
.rmp-stats div { border-radius: 14px; background: var(--soft); }
.rmp-stats b { font-weight: 700; }
.rmc-login-card { border-radius: 20px; border-top: 1px solid #e7e9ee; box-shadow: 0 12px 32px -8px rgba(16, 24, 40, .14); }
.rmc-login input[type=submit] { color: #fff; border-radius: 10px; }
.rmc-login input[type=text], .rmc-login input[type=password] { border-radius: 10px; }
@media (max-width: 760px) {
	.rmp-nav a span { display: none; }
	.rmp-nav a.on span { display: inline; }
	.rmp-hero { padding: 18px; }
}
.rmc-portal .rmp-btn, .rmc-portal .rmp-btn:hover { color: #fff; text-decoration: none; }
.rmc-portal .rmp-btn.ghost, .rmc-portal .rmp-btn.ghost:hover { color: var(--ink); }

/* ===== v1.6: εγκρίσεις σχεδίων, sites ===== */
.rmc-portal .rmc-shot { margin: 0 0 18px; }
.rmc-shot-img { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid #e7e9ee; background: #f8f9fb; cursor: crosshair; line-height: 0; }
.rmc-shot-img img { width: 100%; height: auto; display: block; }
.rmc-shot figcaption { font-size: 12px; color: #7a8291; margin-top: 6px; }
.rmc-pin { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50% 50% 50% 2px; background: #161a21; color: #fff; border: 2px solid #fff; font: 700 12px/22px Inter, system-ui, sans-serif; text-align: center; padding: 0; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.rmc-pin.client { background: #f29c1a; }
.rmc-pin:hover { transform: translate(-50%, -50%) scale(1.15); }
.rmc-pin-list { margin: 10px 0 0; padding-left: 22px; font-size: 13px; line-height: 1.5; }
.rmc-pin-list li { padding: 3px 6px; border-radius: 6px; transition: background .3s; }
.rmc-pin-list li.flash { background: #fff4e3; }
.rmc-pin-list small { color: #7a8291; }

.rmc-portal .rmc-shot.rmp-card { padding: 14px; }
.rmc-portal .rmc-shot-img.ro { cursor: default; }
.rmc-portal .rmc-pin { color: #fff; }
.rmc-portal .rmc-pin.new { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: block; }
.rmp-pinform { position: absolute; z-index: 5; width: min(300px, 80%); background: #fff; border-radius: 12px; box-shadow: 0 12px 32px -6px rgba(16,24,40,.25); padding: 12px; display: flex; flex-direction: column; gap: 8px; line-height: 1.4; transform: translateY(14px); cursor: default; }
.rmp-hint { display: flex; gap: 10px; align-items: flex-start; background: #fff4e3; color: #7a4a00; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-size: 14px; }
.rmp-hint .rmp-i { flex: none; margin-top: 1px; }
.rmp-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rmc-portal .rmp-btn.ok { background: #12a36b; border-color: #12a36b; color: #fff; }
.rmc-portal .rmp-btn.ok:hover { background: #0e8a5a; }
.rmp-decide { border: 2px solid #f29c1a; }
.rmp-site { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: #eef0f3; color: #3d4451; white-space: nowrap; }
.rmp-site::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.rmp-site.up { background: #e6f7ef; color: #0e8a5a; }
.rmp-site.down { background: #fdecea; color: #c2372c; }
.rmp-muted.sm { font-size: 12.5px; margin-top: 10px; }
/* Πίνακες εκτός .rmp-table-wrap (δόσεις, γραμμές προσφοράς/χρέωσης): κύλιση αντί για υπερχείλιση */
.rmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
@media (max-width: 760px) {
	.rmc-portal .rmp-table th, .rmc-portal .rmp-table td { padding-left: 8px; padding-right: 8px; }
	.rmc-portal .rmp-table th.n, .rmc-portal .rmp-table td.n { white-space: nowrap; }
}

/* ===== v1.8: ώρες, πακέτα, βοήθεια, ομάδα, αξιολόγηση, 2FA ===== */
.rmc-portal .rmp-h3 { font-size: 16px; margin: 26px 0 12px; }
.rmc-portal .center { text-align: center; }
.rmc-portal .rmp-muted.sm, .rmc-portal .sm.rmp-late { font-size: 13px; }
.rmc-portal .rmp-prog.low i { background: var(--bad); }
.rmc-portal .rmp-hours-mini { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rmc-portal .rmp-hours-mini b { font-size: 26px; font-weight: 700; color: var(--ink); }
.rmc-portal .rmp-hours-mini span { color: var(--muted); font-size: 14px; }
.rmc-portal .rmp-hours-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rmc-portal .rmp-hours-big span { display: block; color: var(--muted); font-size: 13px; }
.rmc-portal .rmp-hours-big b { font-size: 24px; font-weight: 700; color: var(--ink); }
.rmc-portal .rmp-hours-big b.rmp-late { color: var(--bad); }
.rmc-portal .rmp-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 18px; }
.rmc-portal .rmp-plans.one { grid-template-columns: 1fr; }
.rmc-portal .rmp-plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: border-color .15s, box-shadow .15s; }
.rmc-portal .rmp-plan:hover { border-color: color-mix(in srgb, var(--rmp-brand) 55%, var(--line)); box-shadow: 0 6px 18px -8px rgba(16, 24, 40, .18); }
.rmc-portal .rmp-plan-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--rmp-brand) 14%, #fff); color: color-mix(in srgb, var(--rmp-brand) 70%, #000); }
.rmc-portal .rmp-plan-h { display: flex; flex-direction: column; gap: 2px; }
.rmc-portal .rmp-plan-h b { font-size: 16px; color: var(--ink); }
.rmc-portal .rmp-plan-h span { font-size: 20px; font-weight: 700; color: var(--ink); }
.rmc-portal .rmp-plan-h small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.rmc-portal .rmp-plan p { margin: 0; color: var(--ink2); font-size: 14px; }
.rmc-portal .rmp-plan .rmp-plan-meta { color: var(--muted); font-size: 13px; }
.rmc-portal .rmp-plan-f { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.rmc-portal .rmp-plan-f small { color: var(--ink2); font-size: 13px; flex: 1; min-width: 160px; }
.rmc-portal .rmp-td-act { text-align: right; }
.rmc-portal .rmp-svc-act { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.rmc-portal .rmp-btn .rmp-i { width: 16px; height: 16px; }

.rmp-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(15, 18, 24, .45); display: grid; place-items: center; padding: 16px; }
.rmp-modal-card { background: #fff; border-radius: 16px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .35); font-family: 'Inter', system-ui, sans-serif; color: #1e2126; }
.rmp-modal-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 6px; }
.rmp-modal-h h3 { margin: 0; font-size: 18px; }
.rmp-modal-b { padding: 6px 20px 20px; font-size: 15px; line-height: 1.55; }
.rmp-modal-b p { margin: 0 0 12px; }
.rmp-x { border: 0; background: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; color: #6f7680; }
.rmp-x:hover { background: #f5f6f8; color: #1e2126; }
.rmp-modal .rmp-i { width: 18px; height: 18px; }
.rmp-modal .rmp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.rmc-portal .rmp-kb-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--rmp-brand) 14%, #fff), #fff); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; margin-bottom: 14px; text-align: center; }
.rmc-portal .rmp-kb-hero h2 { font-size: 22px; margin-bottom: 14px; }
.rmc-portal .rmp-search { position: relative; display: block; max-width: 560px; margin: 0 auto; }
.rmc-portal .rmp-search .rmp-i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.rmc-portal .rmp-search input { padding-left: 42px; height: 48px; font-size: 15.5px; width: 100%; }
.rmc-portal .rmp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.rmc-portal .rmp-chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font: inherit; font-size: 13.5px; color: var(--ink2); cursor: pointer; }
.rmc-portal .rmp-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.rmc-portal .rmp-chip small { opacity: .65; }
.rmc-portal .rmp-kb-list { display: grid; gap: 10px; margin-bottom: 16px; }
.rmc-portal .rmp-kb-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: inherit; }
.rmc-portal .rmp-kb-item:hover { border-color: color-mix(in srgb, var(--rmp-brand) 55%, var(--line)); }
.rmc-portal .rmp-kb-item b { display: block; color: var(--ink); font-size: 15px; }
.rmc-portal .rmp-kb-item span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.rmc-portal .rmp-kb-item em { display: inline-block; font-style: normal; font-size: 12px; color: var(--ink2); background: var(--soft); border-radius: 6px; padding: 2px 8px; margin-top: 8px; }
.rmc-portal .rmp-kb-cat { display: inline-block; font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--rmp-brand) 70%, #000); background: color-mix(in srgb, var(--rmp-brand) 12%, #fff); border-radius: 6px; padding: 3px 9px; margin-bottom: 8px; }
.rmc-portal .rmp-article h2 { font-size: 24px; margin-bottom: 14px; }
.rmc-portal .rmp-article-b { font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.rmc-portal .rmp-article-b img { max-width: 100%; height: auto; border-radius: 8px; }
.rmc-portal .rmp-helpful { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 14px; }
.rmc-portal .rmp-suggest { background: #fffaf0; border: 1px solid #f6e3bd; border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.rmc-portal .rmp-suggest b { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #7a4a00; }
.rmc-portal .rmp-suggest a { display: block; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 14px; padding: 6px 0; border-top: 1px solid #f4e6c8; }
.rmc-portal .rmp-suggest a small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }

.rmc-portal .rmp-stars { color: #d6d9de; font-size: 20px; letter-spacing: 1px; }
.rmc-portal .rmp-star.on { color: #f5a623; }
.rmc-portal .rmp-rate { border: 2px solid color-mix(in srgb, var(--rmp-brand) 45%, var(--line)); }
.rmc-portal .rmp-rate h3 { margin-bottom: 4px; }
.rmc-portal .rmp-rate-stars { display: flex; gap: 4px; margin: 6px 0 12px; }
.rmc-portal .rmp-rate-stars button { border: 0; background: none; font-size: 36px; line-height: 1; color: #d6d9de; cursor: pointer; padding: 2px; transition: transform .1s, color .1s; }
.rmc-portal .rmp-rate-stars button.on { color: #f5a623; }
.rmc-portal .rmp-rate-stars button:hover { transform: scale(1.12); }
.rmc-portal .rmp-rate textarea { width: 100%; margin-bottom: 4px; }

.rmc-portal .rmp-2fa { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--soft); }
.rmc-portal .rmp-2fa.on { background: #eef8f2; border-color: #cbe9d8; }
.rmc-portal .rmp-2fa b { display: flex; align-items: center; gap: 6px; }
.rmc-portal .rmp-2fa p { margin: 6px 0 10px; }
.rmc-portal h3 .rmp-i { vertical-align: -3px; }
.rmp-qr { display: grid; place-items: center; margin: 8px 0; }
.rmp-qr svg { width: 200px; height: 200px; border: 1px solid #e3e5e9; border-radius: 12px; }
.rmp-steps { margin: 0 0 8px; padding-left: 20px; }
.rmp-steps li { margin: 4px 0; }
.rmp-otp-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rmp-otp-row .rmp-in { flex: 1; min-width: 150px; }
.rmp-otp { font-size: 22px !important; letter-spacing: .3em; text-align: center; height: 48px; }
.rmp-backup { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0 14px; }
.rmp-backup code { background: #f5f6f8; border-radius: 8px; padding: 8px; text-align: center; font-size: 15px; letter-spacing: .08em; }
.rmp-modal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 640px) {
	.rmc-portal .rmp-hours-big { grid-template-columns: 1fr 1fr; }
	.rmc-portal .rmp-hours-big b { font-size: 20px; }
	.rmc-portal .rmp-td-act { text-align: left; }
}
.rmc-portal .rmp-in.sm { min-height: 34px; padding: 4px 8px; font-size: 14px; width: auto; }
.rmc-portal .rmp-who { flex-wrap: wrap; gap: 8px; }
.rmc-portal .rmp-who > span { margin-right: 6px; }
.rmc-portal .rmp-who a.on { background: #fff; border-color: color-mix(in srgb, var(--rmp-brand) 50%, var(--line)); color: var(--ink); }
@media (max-width: 640px) {
	.rmc-portal .rmp-who { width: 100%; }
	.rmc-portal .rmp-who > span { width: 100%; }
	.rmc-portal .rmp-who a { padding: 6px 10px; font-size: 13px; }
}
