/* Repost Studio – Area Studenti v1.2: benvenuto, brief, progetto, note, relazione */

/* ---------- Benvenuto ---------- */
.rsas-anchor { display: block; height: 0; scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 84px); }
.rsas-welcome-hero {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--rsas-dark); color: #fff; border-radius: 32px;
	min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 68px - 56px);
	display: flex; align-items: center; padding: clamp(32px, 6vw, 80px); margin-bottom: 36px;
}
.rsas-app .rsas-welcome-hero h1 {
	color: #fff; margin: 0 0 clamp(28px, 5vw, 48px); padding: 0; font-weight: 800;
	font-size: clamp(42px, 8.4vw, 116px); line-height: .96; letter-spacing: -.035em;
}
.rsas-wh-in { position: relative; z-index: 2; max-width: 1000px; }
.rsas-wh-hello, .rsas-wh-name, .rsas-wh-go { display: block; }
.rsas-wh-name { color: var(--rsas-accent); overflow-wrap: anywhere; }
.rsas-wh-go { font-size: .42em; letter-spacing: -.02em; line-height: 1.15; margin-top: .45em; font-weight: 700; opacity: .92; }
.rsas-welcome-hero .rsas-kicker { color: #fff; opacity: .7; margin-bottom: 22px; }
.rsas-wh-ring { position: absolute; z-index: 1; width: clamp(260px, 42vw, 560px); aspect-ratio: 1; right: -8%; bottom: -26%; border-radius: 50%; background: var(--rsas-accent); }
.rsas-wh-dot { position: absolute; z-index: 1; width: clamp(90px, 12vw, 150px); aspect-ratio: 1; right: clamp(150px, 30vw, 430px); top: 10%; border-radius: 50%; border: 3px solid rgba(255,255,255,.28); }
.rsas-wh-arrow { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: #fff !important; font-weight: 700; font-size: 18px; }
.rsas-wh-arrow-c { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--rsas-dark); display: grid; place-items: center; box-shadow: 0 8px 0 rgba(0,0,0,.35); transition: transform .15s; animation: rsas-bob 2.2s ease-in-out infinite; }
.rsas-wh-arrow:hover .rsas-wh-arrow-c { transform: translateY(4px); animation-play-state: paused; }
.rsas-wh-arrow:focus-visible .rsas-wh-arrow-c { outline: 3px solid var(--rsas-accent); outline-offset: 4px; }
@keyframes rsas-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }

/* ---------- Nodi speciali nel percorso ---------- */
.rsas-node.has-tag { height: 188px; }
.rsas-node-tag { display: block; max-width: 190px; margin: 2px auto 1px; font-size: 12px; font-weight: 800; color: var(--rsas-accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rsas-finish.rsas-completato .rsas-node-circle { border-style: solid; }

/* ---------- Cominciamo a lavorare: brief ---------- */
.rsas-mybrief { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--rsas-dark); color: #fff; border-radius: 24px; padding: 24px 26px; margin-bottom: 22px; }
.rsas-mybrief::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--rsas-accent); right: -60px; top: -90px; opacity: .9; }
.rsas-mybrief > * { position: relative; z-index: 1; }
.rsas-mybrief-ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 32px; flex: none; }
.rsas-mybrief-txt { flex: 1; min-width: 200px; }
.rsas-app .rsas-mybrief h3 { color: #fff; font-size: 26px; margin: 0 0 2px; }
.rsas-mybrief small { opacity: .75; font-size: 14px; }
.rsas-mybrief .rsas-kicker { margin-bottom: 4px; }
.rsas-mybrief-act { display: flex; gap: 10px; flex-wrap: wrap; }

.rsas-brief-sec { margin-top: 8px; }
.rsas-brief-sec-head { margin-bottom: 16px; }
.rsas-brief-sec-head p { margin: 0; }
.rsas-briefs { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 16px; }
.rsas-brief-card {
	background: #fff; border: 1.5px solid var(--rsas-line); border-radius: 20px; padding: 18px;
	display: flex; flex-direction: column; min-height: 214px; transition: transform .15s, border-color .15s, opacity .15s;
}
.rsas-brief-card:hover { transform: translateY(-3px); border-color: var(--rsas-text); }
.rsas-brief-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rsas-brief-num { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--rsas-muted); font-variant-numeric: tabular-nums; }
.rsas-brief-ico { width: 44px; height: 44px; border-radius: 14px; background: #f2f0eb; display: grid; place-items: center; font-size: 22px; }
.rsas-app .rsas-brief-card h4 { font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 4px; padding: 0; color: var(--rsas-text); overflow-wrap: anywhere; }
.rsas-brief-card small { display: block; font-size: 13px; line-height: 1.35; color: var(--rsas-muted); margin-bottom: 16px; }
.rsas-brief-card .rsas-btn { margin-top: auto; width: 100%; padding: 10px 14px; font-size: 15px; }
.rsas-brief-card.is-mine { border: 2px solid var(--rsas-accent); background: color-mix(in srgb, var(--rsas-accent) 6%, #fff); }
.rsas-brief-card.is-mine .rsas-brief-ico { background: var(--rsas-accent); }
.rsas-brief-card.is-dim { opacity: .62; }
.rsas-brief-card.is-dim:hover { opacity: 1; }

/* ---------- Finestra «Visualizza brief» ---------- */
.rsas-modal { position: fixed; inset: 0; z-index: 1000002; display: grid; place-items: center; padding: 20px; background: rgba(20,20,20,.55); backdrop-filter: blur(3px); animation: rsas-fade .18s both; }
.rsas-modal-box { position: relative; width: min(760px, 100%); max-height: calc(100svh - 40px); display: flex; flex-direction: column; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); animation: rsas-rise .22s both; }
@keyframes rsas-rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.rsas-modal-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; background: var(--rsas-dark); color: #fff; padding: 28px 70px 26px 28px; flex: none; }
.rsas-modal-hero::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--rsas-accent); right: -50px; bottom: -100px; }
.rsas-modal-hero > * { position: relative; z-index: 1; }
.rsas-modal-ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 32px; flex: none; }
.rsas-app .rsas-modal-hero h2 { color: #fff; font-size: clamp(26px, 4vw, 34px); margin: 0; }
.rsas-modal-hero .rsas-kicker { margin-bottom: 6px; }
.rsas-modal-x { position: absolute; z-index: 2; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 18px; cursor: pointer; }
.rsas-modal-x:hover { background: rgba(255,255,255,.26); }
.rsas-modal-body { overflow: auto; padding: 24px 28px 8px; }
.rsas-bf { margin: 0; display: grid; gap: 14px; }
.rsas-bf div { border-left: 3px solid var(--rsas-line); padding-left: 14px; }
.rsas-bf dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rsas-accent); margin-bottom: 2px; }
.rsas-bf dd { margin: 0; white-space: pre-line; }
.rsas-bf-cons { margin: 20px 0 16px; background: #f6f5f2; border-radius: 18px; padding: 16px 18px; }
.rsas-app .rsas-bf-cons h4 { font-size: 15px; font-weight: 800; margin: 0 0 8px; padding: 0; color: var(--rsas-text); }
.rsas-bf-cons li { padding: 3px 0 3px 22px; position: relative; font-size: 15px; }
.rsas-bf-note { font-size: 14px; color: var(--rsas-muted); margin: 8px 0 0 !important; }
.rsas-bf-cons li::before { content: "✓"; position: absolute; left: 0; color: var(--rsas-ok); font-weight: 800; }
.rsas-modal-foot { flex: none; display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; padding: 16px 28px 22px; border-top: 1px solid var(--rsas-line); }
.rsas-modal-foot .rsas-muted { margin: 0 auto 0 0; font-size: 14px; }
.rsas-modal-mine { font-weight: 800; color: var(--rsas-ok); }

/* ---------- «Il tuo progetto» dentro le lezioni ---------- */
.rsas-proj { background: #fff; border: 2px solid var(--rsas-text); border-radius: var(--rsas-radius); padding: 22px 24px; margin-bottom: 20px; box-shadow: 0 8px 0 var(--rsas-text); }
.rsas-proj.is-approvato { border-color: var(--rsas-ok); box-shadow: 0 8px 0 color-mix(in srgb, var(--rsas-ok) 55%, #000); }
.rsas-proj-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.rsas-proj-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--rsas-accent); display: grid; place-items: center; font-size: 28px; flex: none; }
.rsas-proj-title { flex: 1; min-width: 180px; }
.rsas-proj-title .rsas-kicker { margin-bottom: 2px; }
.rsas-app .rsas-proj-title h3 { margin: 0; font-size: 22px; }
.rsas-proj-title small { color: var(--rsas-muted); font-size: 14px; }
.rsas-proj-task { background: #f6f5f2; border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; }
.rsas-proj-task p { margin: 4px 0 0; }
.rsas-proj-state { font-weight: 700; margin: 8px 0 0; }
.rsas-proj.is-rifiutato .rsas-proj-state { color: var(--rsas-bad); }
.rsas-proj.is-inviato .rsas-proj-state { color: #9a6700; }
.rsas-proj.is-approvato .rsas-proj-state { color: var(--rsas-ok); }

/* ---------- Note per attività ---------- */
.rsas-notes-fab {
	position: fixed; right: 20px; bottom: 22px; z-index: 990;
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 99px;
	background: var(--rsas-dark); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
	box-shadow: 0 6px 0 rgba(0,0,0,.25), 0 14px 30px -12px rgba(0,0,0,.4);
}
.rsas-notes-fab:hover { transform: translateY(-2px); }
.rsas-notes-fab.has-notes::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rsas-accent); box-shadow: 0 0 0 3px var(--rsas-dark); margin-left: -2px; }
.rsas-notes {
	position: fixed; z-index: 999999; top: var(--wp-admin--admin-bar--height, 0px); right: 0; bottom: 0; width: min(440px, 100vw);
	background: #fff; border-left: 1.5px solid var(--rsas-line); box-shadow: -30px 0 60px -30px rgba(0,0,0,.35);
	display: flex; flex-direction: column; padding: 20px 22px 18px; animation: rsas-slide .22s both;
}
@keyframes rsas-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.rsas-notes-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.rsas-notes-head .rsas-kicker { display: block; margin-bottom: 2px; }
.rsas-notes-head strong { font-size: 19px; line-height: 1.2; }
.rsas-notes-x { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: #f2f0eb; color: var(--rsas-text); cursor: pointer; font-size: 16px; }
.rsas-notes-x:hover { background: #e7e4de; }
.rsas-notes-hint { font-size: 14px; color: var(--rsas-muted); margin: 0 0 12px !important; }
.rsas-app .rsas-notes textarea { flex: 1; resize: none; min-height: 200px; font-size: 16px; line-height: 1.55; background: #fffdf6; border-color: #eadfbf; }
.rsas-notes-status { font-size: 13px; color: var(--rsas-muted); margin: 10px 0 0 !important; min-height: 1.2em; }
.rsas-notes-status.is-ok { color: var(--rsas-ok); }
.rsas-notes-status.is-err { color: var(--rsas-bad); }

/* ---------- Il tuo progetto: riepilogo + relazione ---------- */
.rsas-proj-recap .rsas-proj-head { margin-bottom: 6px; }
.rsas-recap { margin-top: 10px !important; border-top: 1px solid var(--rsas-line); }
.rsas-recap li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--rsas-line); }
.rsas-recap li span { font-weight: 700; flex: 1; min-width: 140px; }
.rsas-recap em { font-style: normal; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #efede8; color: var(--rsas-muted); }
.rsas-recap .rsas-recap-approvato { background: color-mix(in srgb, var(--rsas-ok) 15%, #fff); color: var(--rsas-ok); }
.rsas-recap .rsas-recap-inviato { background: #fff3d6; color: #9a6700; }
.rsas-recap .rsas-recap-rifiutato { background: #fde8e8; color: var(--rsas-bad); }
.rsas-recap a { font-size: 14px; font-weight: 700; }

.rsas-rel { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.rsas-rel-main { background: #fff; border: 1.5px solid var(--rsas-line); border-radius: var(--rsas-radius); padding: 26px; }
.rsas-rel-head { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.rsas-rel-head p { max-width: 62ch; }
.rsas-rel-state { flex: none; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 99px; background: #efede8; }
.rsas-rel-state.is-inviata { background: #fff3d6; color: #9a6700; }
.rsas-rel-state.is-da_rivedere { background: #fde8e8; color: var(--rsas-bad); }
.rsas-rel-state.is-approvata { background: color-mix(in srgb, var(--rsas-ok) 15%, #fff); color: var(--rsas-ok); }
.rsas-rel-comment { background: #f6f5f2; border-radius: 14px; padding: 12px 16px; margin: 6px 0 16px; }
.rsas-rel-comment.is-wait { background: #fff7e0; }
.rsas-rel-sec { padding: 18px 0; border-top: 1px solid var(--rsas-line); }
.rsas-rel-sec label { display: block; margin-bottom: 6px; }
.rsas-rel-sec label strong { display: block; font-size: 18px; }
.rsas-rel-sec label small { display: block; color: var(--rsas-muted); font-size: 14px; line-height: 1.4; }
.rsas-app .rsas-rel-sec textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.rsas-rel-sec textarea.is-active { border-color: var(--rsas-text); }
.rsas-rel-read { white-space: normal; background: #faf9f6; border-radius: 12px; padding: 12px 14px; }
.rsas-rel-foot { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: rgba(255,255,255,.96); border-top: 1px solid var(--rsas-line); margin: 6px -26px -26px; padding: 14px 26px; border-radius: 0 0 var(--rsas-radius) var(--rsas-radius); }
.rsas-rel-count { font-weight: 800; font-size: 14px; color: var(--rsas-muted); }
.rsas-rel-count.is-ok { color: var(--rsas-ok); }
.rsas-rel-saved { font-size: 13px; color: var(--rsas-muted); margin-right: auto; }

.rsas-rel-side { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 84px); }
.rsas-rel-side-in { background: #fffdf6; border: 1.5px solid #eadfbf; border-radius: var(--rsas-radius); padding: 18px; max-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 110px); overflow: auto; }
.rsas-rel-side-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 17px; }
.rsas-rel-side-x { display: none; }
.rsas-rel-note { border-top: 1px solid #eadfbf; padding: 10px 0; }
.rsas-rel-note summary { cursor: pointer; font-weight: 800; font-size: 15px; }
.rsas-rel-note-txt { white-space: pre-wrap; font-size: 14px; line-height: 1.5; margin: 6px 0 4px; }
.rsas-rel-side-brief { margin: 10px 0 0 !important; }
.rsas-rel-fab { display: none; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
	.rsas-welcome-hero { min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 58px - 40px - 76px); border-radius: 26px; margin-bottom: 26px; }
	.rsas-app .rsas-welcome-hero h1 { font-size: clamp(48px, 14vw, 76px); }
	.rsas-wh-go { font-size: .5em; }
	.rsas-wh-arrow-c { width: 60px; height: 60px; }
	.rsas-wh-dot { display: none; }
	.rsas-briefs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
	.rsas-brief-card { padding: 14px; min-height: 0; }
	.rsas-app .rsas-brief-card h4 { font-size: 16px; }
	.rsas-modal { padding: 0; place-items: end center; }
	.rsas-modal-box { border-radius: 26px 26px 0 0; max-height: 92svh; }
	.rsas-modal-hero { padding: 22px 64px 20px 20px; }
	.rsas-modal-body { padding: 18px 20px 4px; }
	.rsas-modal-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); }
	.rsas-notes-fab { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 11px 16px; }
	.rsas-notes { width: 100vw; border-left: 0; }
	.rsas-rel { grid-template-columns: 1fr; }
	.rsas-rel-main { padding: 18px; }
	.rsas-rel-foot { margin: 6px -18px -18px; padding: 12px 18px; }
	.rsas-rel-side { display: none; position: fixed; z-index: 999999; inset: var(--wp-admin--admin-bar--height, 0px) 0 0 0; top: var(--wp-admin--admin-bar--height, 0px); }
	.rsas-rel-side.is-open { display: block; }
	.rsas-rel-side-in { height: 100%; max-height: none; border-radius: 0; border: 0; }
	.rsas-rel-side-x { display: block; }
	.rsas-rel-fab { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
	.rsas-wh-arrow-c, .rsas-modal, .rsas-modal-box, .rsas-notes { animation: none !important; }
}

/* ---------- Stampa della relazione ---------- */
@media print {
	.rsas-top, .rsas-bnav, .rsas-foot, .rsas-back, .rsas-notes-fab, .rsas-rel-side, .rsas-rel-foot, .rsas-preview, .rsas-steps { display: none !important; }
	.rsas-app { background: #fff; }
	.rsas-rel { display: block; }
	.rsas-rel-main, .rsas-proj-recap { border: 0; padding: 0; }
}

/* ---------- v1.5: immagini degli studenti ---------- */
.rsas-imgcard-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.rsas-imgcard-head p { margin: 0; max-width: 60ch; }
.rsas-upload { cursor: pointer; flex: none; }
.rsas-upload.is-busy { opacity: .6; pointer-events: none; }
.rsas-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.rsas-imgs:empty { margin-top: 0; }
.rsas-img { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #f2f0eb; aspect-ratio: 1; }
.rsas-img a { display: block; width: 100%; height: 100%; }
.rsas-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.rsas-img a:hover img { transform: scale(1.04); }
.rsas-img figcaption { position: absolute; left: 6px; bottom: 6px; right: 6px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(20,20,20,.65); border-radius: 8px; padding: 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rsas-img-del { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(20,20,20,.7); color: #fff; cursor: pointer; font-size: 13px; opacity: 0; transition: opacity .15s; }
.rsas-img:hover .rsas-img-del, .rsas-img-del:focus-visible { opacity: 1; }
.rsas-img-empty { margin: 12px 0 0 !important; }
.rsas-img.is-loading { display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--rsas-muted); }
.rsas-lightbox { position: fixed; inset: 0; z-index: 1000004; background: rgba(10,10,10,.88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: rsas-fade .15s both; }
.rsas-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }

/* ---------- v1.5: area insegnante ---------- */
.rsas-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.rsas-tcard { display: block; background: #fff; border: 1.5px solid var(--rsas-line); border-radius: var(--rsas-radius); padding: 20px; text-decoration: none; color: inherit !important; transition: transform .15s, border-color .15s; }
.rsas-tcard:hover { transform: translateY(-3px); border-color: var(--rsas-text); }
.rsas-tcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rsas-tcard-head strong { display: block; font-size: 18px; line-height: 1.2; }
.rsas-tcard-head small { color: var(--rsas-muted); font-size: 13px; }
.rsas-tcard .rsas-xpbar { background: #efede8; }
.rsas-tcard-now { font-weight: 700; font-size: 14px; margin: 8px 0 12px !important; }
.rsas-tcard-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 12px; }
.rsas-tcard-dl dt { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rsas-muted); }
.rsas-tcard-dl dd { margin: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.rsas-tcard-last { margin: 0 !important; font-size: 13px; color: var(--rsas-muted); }
.rsas-thero p { opacity: .75; margin: 0; }
.rsas-tcols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.rsas-tside { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 84px); }
.rsas-tpath li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rsas-line); }
.rsas-tpath li:last-child { border-bottom: 0; }
.rsas-tpath-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; background: #f2f0eb; display: grid; place-items: center; font-size: 20px; }
.rsas-tpath li.is-completato .rsas-tpath-ico { background: var(--rsas-accent); }
.rsas-tpath li.is-bloccato { opacity: .55; }
.rsas-tpath-body strong { display: block; }
.rsas-tpath-body small { display: block; color: var(--rsas-muted); font-size: 13px; }
.rsas-tpath-body .rsas-tpath-task { color: var(--rsas-text); margin-top: 2px; }
.rsas-trel summary { cursor: pointer; font-weight: 700; color: var(--rsas-accent); }
.rsas-trel h4 { margin: 14px 0 4px; font-size: 16px; }
.rsas-pnote-card { background: #fffdf6; border-color: #eadfbf; }
.rsas-pnote-form { display: grid; gap: 8px; margin-bottom: 14px; }
.rsas-pnote-form .rsas-btn { justify-self: start; }
.rsas-pnotes li { border-top: 1px solid #eadfbf; padding: 10px 0; }
.rsas-pnote-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--rsas-muted); }
.rsas-pnote-meta strong { color: var(--rsas-text); }
.rsas-pnotes p { margin: 4px 0 !important; font-size: 15px; }
.rsas-pnote-del { font-size: 12px; color: var(--rsas-muted) !important; }
.rsas-nav-t { margin-left: auto; margin-right: 12px; }
@media (max-width: 900px) {
	.rsas-bnav { grid-template-columns: repeat(7, 1fr) !important; }
	.rsas-bnav a { font-size: 9.5px; }
	.rsas-tcols { grid-template-columns: 1fr; }
	.rsas-tside { position: static; }
	.rsas-imgs { grid-template-columns: repeat(3, 1fr); }
	.rsas-img-del { opacity: 1; }
}
