/* Fill in with Ray (RayFill, 2026-11-21): the dashboard card, the start form, progress, the draft to check, the owner's page */

/* ---- the card on the company dashboard: the first block under the page header, where the stats strip used to start */
.ndrf-first{position:relative;z-index:2;margin:-38px auto 0}
.ndrf-first+.ndti-dash-stats{margin-top:14px}
.ndrf-card{display:flex;gap:18px;align-items:flex-start;background:#fff;border:1px solid #e3e9ee;border-radius:18px;padding:24px 26px;box-shadow:0 18px 40px rgba(11,22,32,.10)}
.ndrf-card__mark{flex:none;width:48px;height:48px;border-radius:14px;background:#3d9142;color:#fff;font-size:24px;font-weight:800;display:flex;align-items:center;justify-content:center}
.ndrf-card__body{min-width:0;flex:1}
.ndrf-card h2{margin:0 0 6px;font-size:22px;line-height:1.25;color:#0b1620;letter-spacing:-.01em}
.ndrf-card p{margin:0 0 14px;max-width:780px;line-height:1.55;color:#46576a;font-size:15px}
.ndrf-card__form{display:flex;gap:10px;flex-wrap:wrap;max-width:660px;margin:0 0 8px}
.ndrf-card__form input[type=text]{flex:1 1 260px;min-width:0;box-sizing:border-box;border:1px solid #b9c6d0;border-radius:10px;padding:12px 14px;font:inherit;font-size:15.5px;color:#0b1620;background:#fff}
.ndrf-card__form input[type=text]:focus{outline:3px solid #b9e2bf;outline-offset:0;border-color:#3d9142}
.ndrf-card .ndti-btn{padding:12px 24px;border-radius:10px;font-size:15.5px}
.ndrf-card .ndrf-card__more{margin:0;font-size:13.5px}
.ndrf-card__act{margin:0!important}
.ndrf-card--slim{align-items:center;padding:14px 20px}
.ndrf-card--slim .ndrf-card__mark{width:36px;height:36px;border-radius:10px;font-size:18px}
.ndrf-card--slim p{margin:0;max-width:none;font-size:14.5px}
.ndrf-card--slim .ndti-btn{flex:none;padding:9px 16px;font-size:14px}
.ndrf-hint{margin:0 0 16px}

/* ---- the homepage card, right under the four-number strip */
.ndrf-home__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:56px;align-items:center;width:100%}
.ndrf-home .ndti-sub{max-width:58ch;margin:0}
.ndrf-home__steps{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:12px}
.ndrf-home__steps li{display:flex;gap:14px;align-items:flex-start;margin:0;font-size:16px;line-height:1.5;color:#33475a}
.ndrf-home__steps b{flex:none;width:30px;height:30px;border-radius:50%;background:#dff1e2;color:#1f6526;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;margin-top:-3px}
.ndrf-home__steps strong{color:#0b1620}
.ndrf-home__act{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.ndrf-home__fine{margin:16px 0 0;font-size:13.5px;line-height:1.5;color:#5a6a7b}
.ndrf-home .ndti-sub strong{color:#0b1620}
.ndrf-home__side{display:grid;gap:18px;min-width:0}
.ndrf-home__who{margin:0;padding:16px 20px;border:1px solid #d5e6d9;border-radius:14px;background:#f4faf5}
.ndrf-home__who>p{margin:0 0 10px;font-size:12px;line-height:1.3;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#1f6526}
.ndrf-home__who ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ndrf-home__who li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 14px;margin:0;font-size:15px;line-height:1.45;color:#33475a}
@media (max-width:420px){.ndrf-home__who li{grid-template-columns:minmax(0,1fr)}}
.ndrf-home__plans{display:inline-flex;flex-wrap:wrap;gap:6px}
.ndrf-home__plans a{display:inline-block;padding:4px 12px;border-radius:999px;background:#fff;border:1px solid #bcdcc2;color:#14401b;font-weight:700;font-size:14px;line-height:1.35;text-decoration:none}
.ndrf-home__plans a:hover{background:#e3f3e6;border-color:#8fc79a;text-decoration:none}
.ndrf-home__click{flex:none;display:inline-block;padding:6px 12px;border-radius:999px;background:#3d9142;color:#fff;font-weight:700;font-size:12.5px;line-height:1.2;white-space:nowrap}
.ndrf-home__demo{background:#fff;border:1px solid #dfe7ec;border-radius:18px;box-shadow:0 24px 60px rgba(11,22,32,.12);overflow:hidden}
.ndrf-home__bar{display:flex;align-items:center;gap:7px;padding:13px 16px;background:#0b1620}
.ndrf-home__bar i{flex:none;width:10px;height:10px;border-radius:50%;background:#33475a}
.ndrf-home__bar span{flex:1;min-width:0;margin-left:8px;background:#16242f;border-radius:8px;padding:8px 12px;color:#cfdde7;font-size:13.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ndrf-home__demo ul{list-style:none;margin:0;padding:6px 22px}
.ndrf-home__demo li{display:flex;gap:14px;align-items:flex-start;margin:0;padding:16px 0;border-top:1px solid #edf1f4}
.ndrf-home__demo li:first-child{border-top:0}
.ndrf-home__demo em{flex:none;width:26px;height:26px;border-radius:50%;background:#3d9142;color:#fff;font-style:normal;font-weight:800;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center}
.ndrf-home__demo strong{display:block;color:#0b1620;font-size:16px;line-height:1.3}
.ndrf-home__demo small{display:block;color:#5a6a7b;font-size:13.5px;line-height:1.45;margin-top:2px}
.ndrf-home__ready{margin:0;padding:13px 22px;background:#f2f8f3;border-top:1px solid #dcefe0;color:#1e5426;font-weight:700;font-size:14px;line-height:1.4;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ndti-sec--dark .ndrf-home__steps li{color:#cfdde7}
.ndti-sec--dark .ndrf-home__steps strong{color:#fff}
.ndti-sec--dark .ndrf-home__steps b{background:rgba(127,209,143,.18);color:#bfe9c8}
.ndti-sec--dark .ndrf-home__fine{color:#a9bccc}
.ndti-sec--dark .ndrf-home__text .ndti-sub strong{color:#fff}
.ndti-sec--dark .ndrf-home__who{background:rgba(127,209,143,.08);border-color:rgba(127,209,143,.28)}
.ndti-sec--dark .ndrf-home__who>p{color:#bfe9c8}
.ndti-sec--dark .ndrf-home__who li{color:#cfdde7}
.ndti-sec--dark .ndrf-home__demo{border-color:rgba(255,255,255,.14);box-shadow:0 24px 60px rgba(0,0,0,.4)}
@media (max-width:900px){.ndrf-home__grid{grid-template-columns:minmax(0,1fr);gap:34px}.ndrf-home__act .ndti-btn{flex:1 1 auto}}
@media (max-width:600px){.ndrf-home__demo{display:none}}   /* the panel repeats the text as a picture: on a phone the card stays short without it */

/* ---- start form */
.ndrf-form{max-width:860px;margin:0 0 30px}
.ndrf-step{display:flex;gap:16px;background:#fff;border:1px solid #e4e8ec;border-radius:14px;padding:20px 22px;margin:0 0 12px}
.ndrf-step__n{flex:none;width:30px;height:30px;border-radius:50%;background:#e3f3e5;color:#1f6526;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14.5px}
.ndrf-step__b{flex:1;min-width:0}
.ndrf-label{display:block;font-weight:700;font-size:15.5px;color:#0b1620;margin:3px 0 8px}
.ndrf-label--2{margin-top:18px}
.ndrf-input{display:block;width:100%;box-sizing:border-box;border:1px solid #cbd6de;border-radius:9px;padding:10px 12px;font:inherit;font-size:15px;color:#0b1620;background:#fff;line-height:1.45}
.ndrf-input:focus{outline:3px solid #b9e2bf;outline-offset:0;border-color:#3d9142}
textarea.ndrf-input{resize:vertical}
.ndrf-file{display:block;font:inherit;font-size:14.5px;max-width:100%}
.ndrf-help{margin:7px 0 0;font-size:13.5px;line-height:1.5;color:#5a6a7b}
.ndrf-check{display:flex;gap:11px;align-items:flex-start;padding:9px 0;cursor:pointer}
.ndrf-check input{margin:4px 0 0;flex:none;width:17px;height:17px}
.ndrf-check strong{display:block;color:#0b1620;font-size:15px}
.ndrf-check small{display:block;color:#5a6a7b;font-size:13.5px;line-height:1.45}
.ndrf-go{padding:13px 28px;font-size:15.5px}
.ndrf-count{font-size:13.5px;color:#5a6a7b;margin-left:10px}
.ndrf-error{background:#fdecea;border:1px solid #f4c7c2;color:#8c1d14;border-radius:10px;padding:11px 14px;font-size:14.5px;line-height:1.5;max-width:860px;box-sizing:border-box}
.ndrf-box{background:#fff;border:1px solid #e4e8ec;border-radius:14px;padding:20px 22px;max-width:860px;margin:0 0 20px;line-height:1.6}
.ndrf-box h2{margin:0 0 8px;font-size:19px}
.ndrf-box p{margin:0 0 12px}
.ndrf-box p:last-child{margin-bottom:0}
.ndrf-box--held{border-color:#f0d58a;background:#fffaeb;max-width:none}
.ndrf-inline{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ndrf-input--note{flex:1 1 260px;width:auto}
.ndrf-h2{font-size:19px;margin:28px 0 10px}
.ndrf-table td{vertical-align:middle}
.ndrf-small{padding:6px 12px!important;font-size:12.5px!important}
.ndrf-pill{display:inline-block;font-size:11.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:4px 10px;background:#eceff2;color:#5a6a7b;white-space:nowrap}
.ndrf-pill--ready{background:#e3f3e5;color:#1f6526}
.ndrf-pill--done{background:#e3f3e5;color:#1f6526}
.ndrf-pill--running,.ndrf-pill--queued{background:#e2ecfb;color:#1b4f9c}
.ndrf-pill--held{background:#fdf3d7;color:#6b4a00}
.ndrf-pill--failed,.ndrf-pill--declined{background:#fdecea;color:#8c1d14}

/* ---- progress */
.ndrf-progress{background:#fff;border:1px solid #e4e8ec;border-radius:14px;padding:26px 24px;max-width:860px;margin:0 0 20px}
.ndrf-bar{height:12px;border-radius:999px;background:#e8edf1;overflow:hidden}
.ndrf-bar i{display:block;height:100%;border-radius:999px;background:#3d9142;transition:width .8s ease}
.ndrf-progress__line{font-size:17px;font-weight:700;color:#0b1620;margin:16px 0 4px}
@media (prefers-reduced-motion:reduce){.ndrf-bar i{transition:none}}

/* ---- the draft */
.ndrf-notes{background:#fffaeb;border:1px solid #f0d58a;border-radius:14px;padding:16px 20px;margin:0 0 18px;max-width:1000px}
.ndrf-notes h2{font-size:16px;margin:0 0 8px;color:#5a4000}
.ndrf-notes ul{margin:0;padding-left:20px}
.ndrf-notes li{margin:0 0 5px;line-height:1.5;color:#4a3a10;font-size:14.5px}
.ndrf-part{background:#fff;border:1px solid #e4e8ec;border-radius:14px;padding:22px 24px;margin:0 0 18px;max-width:1000px;box-sizing:border-box}
.ndrf-part>h2{margin:0 0 6px;font-size:21px}
.ndrf-part__lede{margin:0 0 16px;color:#46576a;line-height:1.55;font-size:14.5px}
.ndrf-part__act{margin:20px 0 0;padding-top:16px;border-top:1px solid #edf0f3}
.ndrf-row{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid #f1f3f5}
.ndrf-row:first-of-type{border-top:0}
.ndrf-row__use{flex:none;width:22px;padding-top:27px}
.ndrf-row__use input{width:18px;height:18px;margin:0}
.ndrf-row__b{flex:1;min-width:0}
.ndrf-row__l{display:block;font-size:12.5px;font-weight:700;color:#46576a;margin:0 0 5px}
.ndrf-row__now{margin:5px 0 0;font-size:12.5px;color:#6f7a86;line-height:1.45;overflow-wrap:anywhere}
.ndrf-row.is-empty .ndrf-input{background:#fafbfc}
.ndrf-pics{display:flex;gap:14px;flex-wrap:wrap}
.ndrf-pics figure{margin:0}
.ndrf-pics img{display:block;max-width:220px;max-height:130px;width:auto;height:auto;border:1px solid #e4e8ec;border-radius:8px;background:#f4f6f8}
.ndrf-pics figcaption{font-size:12px;color:#6f7a86;margin-top:4px}
.ndrf-chips{display:flex;flex-wrap:wrap;gap:6px 16px}
.ndrf-chips label{font-size:14px;color:#0b1620;display:inline-flex;gap:6px;align-items:center}
.ndrf-rich__edit{border:1px solid #cbd6de;border-radius:9px;padding:12px 16px;background:#fff;line-height:1.6;font-size:15px;max-height:520px;overflow:auto}
.ndrf-rich__edit:focus{outline:3px solid #b9e2bf;border-color:#3d9142}
.ndrf-rich__edit h3{font-size:16px;margin:14px 0 6px}
.ndrf-rich__edit p{margin:0 0 10px}
.ndrf-rich__edit ul,.ndrf-rich__edit ol{margin:0 0 10px;padding-left:22px}
.ndrf-rich.is-live .ndrf-rich__src{display:none}
.ndrf-rich:not(.is-live) .ndrf-rich__src+.ndrf-row__now{display:none}
.ndrf-h3{font-size:17px;margin:26px 0 10px;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.ndrf-h3 small{font-size:13px;font-weight:400;color:#6f7a86}
.ndrf-item{border:1px solid #e4e8ec;border-radius:12px;padding:16px 18px;margin:0 0 12px;background:#fcfdfd}
.ndrf-item.is-off{opacity:.55}
.ndrf-item__use{display:flex;gap:9px;align-items:center;font-weight:700;color:#0b1620;margin:0 0 12px;font-size:14.5px}
.ndrf-item__use input{width:18px;height:18px;margin:0}
.ndrf-item__grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}
.ndrf-item__pic img{display:block;width:100%;height:auto;max-height:200px;object-fit:contain;border:1px solid #e4e8ec;border-radius:8px;background:#f4f6f8}
.ndrf-item__pic label{display:flex;gap:7px;align-items:center;font-size:13px;color:#46576a;margin-top:8px}
.ndrf-item__nopic{display:block;font-size:13px;color:#6f7a86;border:1px dashed #cbd6de;border-radius:8px;padding:18px 12px;text-align:center;line-height:1.45}
.ndrf-item__f .ndrf-row__l{margin-top:11px}
.ndrf-item__f .ndrf-row__l:first-child{margin-top:0}
.ndrf-item__pdf{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;color:#46576a;margin-top:12px;line-height:1.45}
.ndrf-item__pdf input{margin:3px 0 0;flex:none}
.ndrf-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 14px}
.ndrf-three{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:0 14px}
.ndrf-caution{background:#fdf3d7;color:#6b4a00;border-radius:8px;padding:8px 12px;font-size:13.5px;line-height:1.45;margin:12px 0 0}
.ndrf-done{background:#f2f8f3;border:1px solid #cfe8d3;color:#1e5426;border-radius:10px;padding:13px 16px;line-height:1.5}
.ndrf-read{max-width:1000px;margin:0 0 18px;font-size:14px;color:#46576a}
.ndrf-read summary{cursor:pointer;font-weight:700;color:#0b1620;padding:6px 0}
.ndrf-read ul{margin:8px 0;padding-left:20px}
.ndrf-read li{margin:0 0 4px;overflow-wrap:anywhere}
.ndrf-read li.is-off{color:#9aa4ae}
.ndrf-discard{margin:0 0 40px}

/* ---- the owner's page */
.ndrf-adm{max-width:1180px;color:#122b46}
.ndrf-adm h1{margin:0 0 6px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ndrf-adm h2{font-size:17px;margin:26px 0 10px}
.ndrf-adm h3{font-size:14.5px;margin:18px 0 8px}
.ndrf-adm__lede{margin:0;max-width:900px;line-height:1.55;color:#46576a}
.ndrf-adm__warn{border-radius:10px;padding:11px 14px;margin:14px 0 0;font-size:14px;line-height:1.5;background:#fdf3d7;color:#6b4a00}
.ndrf-adm__tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:10px;margin:18px 0}
.ndrf-adm__tiles div{background:#fff;border:1px solid #e4e8ec;border-radius:12px;padding:13px 15px;display:flex;flex-direction:column;gap:4px;min-width:0}
.ndrf-adm__tiles b{font-size:19px;line-height:1.25}
.ndrf-adm__tiles span{font-size:12.5px;color:#6f7a86;line-height:1.4}
.ndrf-adm__box{background:#fff;border:1px solid #e4e8ec;border-radius:14px;padding:18px 20px;margin:0 0 14px}
.ndrf-adm__box h2{margin-top:0}
.ndrf-adm__hint{color:#6f7a86;font-size:13.5px;line-height:1.5;margin:6px 0 12px;max-width:860px}
.ndrf-adm__check{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45;margin:0 0 6px}
.ndrf-adm__check input{margin:3px 0 0;flex:none}
.ndrf-adm__check span{color:#46576a}
.ndrf-adm__check b{color:#122b46}
.ndrf-adm__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:4px 14px;align-items:end}
.ndrf-adm__grid label{display:block;font-size:12.5px;font-weight:700;color:#46576a;margin:0 0 8px}
.ndrf-adm__grid input{display:block;width:100%;box-sizing:border-box;border:1px solid #d5dbe1;border-radius:8px;padding:8px 10px;font:inherit;font-size:14px;font-weight:400;color:#122b46;background:#fff;margin:5px 0 0}
.ndrf-adm__scroll{overflow-x:auto;border:1px solid #e4e8ec;border-radius:12px;background:#fff}
.ndrf-adm__table{width:100%;border-collapse:collapse;font-size:13.5px}
.ndrf-adm__table th{text-align:left;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:#6f7a86;padding:10px 12px;border-bottom:1px solid #e4e8ec;white-space:nowrap}
.ndrf-adm__table td{padding:10px 12px;border-bottom:1px solid #f0f2f4;vertical-align:top}
.ndrf-adm__table tr:last-child td{border-bottom:0}
.ndrf-adm__table tr.is-held td{background:#fffaeb}
.ndrf-adm__table small{display:block;color:#6f7a86;font-size:12px;margin-top:2px;overflow-wrap:anywhere}

@media (max-width:720px){
  .ndrf-card{flex-direction:column;padding:20px 18px;gap:12px}
  .ndrf-card--slim{align-items:flex-start}
  .ndrf-card__form .ndti-btn{flex:1 1 100%}
  .ndrf-step{padding:16px 14px;gap:12px}
  .ndrf-part{padding:18px 14px}
  .ndrf-item__grid{grid-template-columns:minmax(0,1fr)}
  .ndrf-item__pic img{max-width:260px}
  .ndrf-two,.ndrf-three{grid-template-columns:minmax(0,1fr)}
  .ndrf-count{display:block;margin:10px 0 0}
}
