/* Pearl, charcoal and restrained warm accents */
:root{--ink:#25272b;--muted:#62666d;--plum:#303338;--plum-deep:#202327;--rose:#f0f1f2;--line:#e1e2e4;--paper:#fff;--gold:#b79a69}body{background:#fbfbfc;color:var(--ink)}.site-header{max-width:1180px;margin:0 auto;background:transparent;padding:17px 30px 14px;display:flex;flex-direction:row;direction:ltr;align-items:center;justify-content:space-between;border-bottom:1px solid #9b9da2;position:relative}.site-header:after,.site-footer:before{content:'';position:absolute;left:50%;width:30px;height:2px;transform:translateX(-50%);background:var(--gold);box-shadow:0 0 0 7px #fbfbfc}.site-header:after{bottom:-1px}.header-wordmark{font:400 29px Georgia,'Times New Roman',serif;letter-spacing:-1px;color:#25272b}.signature-monogram{position:relative;display:block;width:48px;height:42px;font-family:Georgia,'Times New Roman',serif;font-size:32px;line-height:1;color:#25272b}.signature-monogram span:first-child{position:absolute;left:0;top:0}.signature-monogram span:last-child{position:absolute;right:0;bottom:0}.signature-monogram:after{content:'';position:absolute;right:0;bottom:-6px;width:20px;height:1px;background:var(--gold)}main.app-main{padding-top:20px}.welcome-screen{padding:0 0 30px;max-width:780px;min-height:0;margin:0 auto 12px;border:0;background:none;box-shadow:none;border-radius:0;gap:0}.welcome-photo{width:100%;height:260px;position:relative;margin:0 0 4px;overflow:hidden;mask-image:linear-gradient(to bottom,transparent 0,#000 10%,#000 74%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 10%,#000 74%,transparent 100%)}.welcome-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 62%;opacity:.78}.welcome-screen h1{font:400 clamp(42px,6vw,66px) Georgia,'Times New Roman',serif;letter-spacing:-1.7px;line-height:1.12;margin:0;color:#24272b}.welcome-screen .welcome-subtitle{font-size:25px;line-height:1.6;font-weight:400;color:#303338;margin:16px 0 25px}.welcome-screen button{background:#303338;color:white;border:1px solid #b79a69;border-radius:12px;min-width:280px;padding:13px 30px;font-size:20px;box-shadow:none}.welcome-screen button:hover{background:#232529;box-shadow:0 4px 12px #25272b12}.welcome-screen button span{color:#b79a69;margin-right:25px}button,.upload{background:#303338}button:hover:not(:disabled),.upload:hover{background:#24262a}.secondary{background:#eceef0;color:#393d42}.secondary:hover:not(:disabled){background:#e0e3e6;color:#25272b}.site-footer{position:relative;background:transparent;max-width:1120px;margin:18px auto 0;border-top:1px solid #9b9da2;padding:20px 22px 24px;color:#414348}.site-footer:before{top:-1px}.site-footer .footer-name{font:400 16px Georgia,'Times New Roman',serif;color:#42454b;margin:0;display:flex;gap:17px;align-items:center;justify-content:center}.site-footer .footer-name:before,.site-footer .footer-name:after{content:'';width:23px;height:1px;background:#b79a69}#identity{border-right:1px solid var(--line)}.step-caption{color:#77684f}.workspace-nav h1{color:#25272b}.stat,.pdf-page .pdf-meta{background:#f0f1f2}.stat{color:#555b63}th,.pdf-page th{background:#f4f5f6;color:#565b63}summary{color:#454950}.drop{background:#f8f9fa;border-color:#bdc1c6}input:focus,select:focus,textarea:focus{outline-color:#b9bec5}.photo-map{background:#f0f1f2}.pdf-page .report-credit{color:#454950}
@media(max-width:720px){.site-header{padding:17px 20px 15px}.header-wordmark{font-size:28px}.signature-monogram{width:43px;height:38px;font-size:30px}main.app-main{padding:18px 16px 0}.welcome-screen{margin:0;min-height:0;padding:0 0 27px}.welcome-photo{height:210px;width:calc(100% + 32px);margin:0 -16px 7px}.welcome-screen h1{font-size:48px}.welcome-screen .welcome-subtitle{font-size:22px;margin:13px 0 23px}.welcome-screen button{width:min(100%,310px);min-width:0;font-size:19px;padding:13px 20px}.site-footer{margin:15px 18px 0;padding:20px 12px 24px}.site-footer .footer-name{font-size:14px;gap:12px}}
@media(max-height:700px) and (max-width:720px){.welcome-photo{height:155px}.welcome-screen h1{font-size:42px}.welcome-screen .welcome-subtitle{font-size:20px;margin:10px 0 18px}}
/* Keep the signature at the page end without covering longer content. */
body{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}.site-header{width:100%;flex-shrink:0}main.app-main{width:100%;flex:1 0 auto}.site-footer{width:calc(100% - 44px);flex-shrink:0;margin-top:18px;margin-bottom:0;padding-bottom:max(24px,env(safe-area-inset-bottom))}
@media(max-width:720px){.site-footer{width:calc(100% - 36px);margin:15px 18px 0}}
.site-footer:after{content:'';position:absolute;left:0;right:0;bottom:max(8px,env(safe-area-inset-bottom));height:1px;background:#9b9da2}

/* Clear marble hero and an explicit, visible signature frame. */
body{background:#fff}.site-header{background:#fff}.site-header:after{box-shadow:0 0 0 7px #fff}.welcome-photo{height:310px;mask-image:linear-gradient(to bottom,transparent 0,#000 8%,#000 82%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 8%,#000 82%,transparent 100%);overflow:visible}.welcome-photo img{opacity:1;object-position:center center}.welcome-screen .welcome-wordmark{display:flex;align-items:center;justify-content:center;gap:20px;font-size:76px;margin-top:-7px;position:relative;z-index:1;letter-spacing:-2px}.welcome-rm{display:inline-block;position:relative;width:110px;height:102px;flex-shrink:0;line-height:1;font-size:79px}.welcome-rm>span:first-child{position:absolute;left:0;top:0}.welcome-rm>span:last-child{position:absolute;right:0;bottom:0}.welcome-expiry{display:block}.welcome-screen .welcome-subtitle{font-size:29px;margin:14px 0 25px}.welcome-screen button{font-size:23px;min-width:310px}.site-footer{border:0;padding:0 0 max(14px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:17px}.site-footer:before,.site-footer:after{display:none}.site-footer .footer-rule{display:block;height:1px;min-height:1px;width:100%;background:#96999e;position:relative}.site-footer .footer-rule:after{content:'';position:absolute;height:2px;width:30px;left:50%;top:0;transform:translateX(-50%);background:#b79a69;box-shadow:0 0 0 6px #fff}.site-footer .footer-name{font-size:18px;color:#303338;line-height:1.5}.site-footer .bottom-rule:after{display:none}
@media(max-width:720px){.welcome-photo{height:260px;margin-bottom:0;mask-image:linear-gradient(to bottom,transparent 0,#000 9%,#000 78%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 9%,#000 78%,transparent 100%)}.welcome-screen .welcome-wordmark{font-size:62px;gap:16px;margin-top:-12px;letter-spacing:-1.7px}.welcome-rm{width:88px;height:83px;font-size:65px}.welcome-screen .welcome-subtitle{font-size:26px;margin:14px 0 24px}.welcome-screen button{font-size:22px;min-width:0}.site-footer{gap:15px;margin:16px 18px 0}.site-footer .footer-name{font-size:17px}}
@media(max-width:370px){.welcome-screen .welcome-wordmark{font-size:54px;gap:12px}.welcome-rm{width:78px;height:75px;font-size:58px}.welcome-screen .welcome-subtitle{font-size:23px}}
@media(max-height:700px) and (max-width:720px){.welcome-photo{height:190px}.welcome-screen .welcome-wordmark{font-size:53px}.welcome-rm{width:76px;height:73px;font-size:57px}.welcome-screen .welcome-subtitle{font-size:24px;margin:10px 0 18px}}
.welcome-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(to right,#fff 0,transparent 9%,transparent 91%,#fff 100%);pointer-events:none}
/* Final requested layout: initials stacked and credit below one closing rule. */
.signature-monogram{display:flex;flex-direction:column;align-items:center;width:42px;height:66px;font-size:31px;line-height:1.02}.signature-monogram span:first-child,.signature-monogram span:last-child{position:static;display:block}.signature-monogram:after{right:10px}
.welcome-rm{display:flex;flex-direction:column;align-items:center;justify-content:center;width:62px;height:auto;font-size:.65em;line-height:.95;gap:3px}.welcome-rm>span:first-child,.welcome-rm>span:last-child{position:static;display:block}
.welcome-photo{overflow:hidden;mask-image:linear-gradient(to bottom,transparent,#000 15%,#000 58%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 15%,#000 58%,transparent)}
.site-footer .bottom-rule{display:none}.site-footer .footer-rule:after{display:none}.site-footer .footer-name:before,.site-footer .footer-name:after{display:none}
@media(max-width:720px){.signature-monogram{height:60px;font-size:29px}.welcome-rm{width:49px;height:auto;font-size:.68em}}
/* One viewport welcome, with a reserved signature area. */
.signature-monogram{display:block;position:relative;width:48px;height:42px;font-size:32px;line-height:1}.signature-monogram span:first-child{position:absolute;left:0;top:0}.signature-monogram span:last-child{position:absolute;right:0;bottom:0}
.welcome-rm{display:inline-block;position:relative;width:1.35em;height:1.28em;font-size:1em;line-height:1;flex-shrink:0}.welcome-rm>span:first-child{position:absolute;left:0;top:0}.welcome-rm>span:last-child{position:absolute;right:0;bottom:0}
.welcome-photo{mask-image:linear-gradient(to bottom,transparent 0%,#000 38%,#000 61%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 38%,#000 61%,transparent 100%)}
body.welcome-active{height:100svh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.welcome-active .site-header{flex:0 0 auto;padding-top:12px;padding-bottom:12px}
.welcome-active main.app-main{flex:1 1 0;min-height:0;padding:0 18px;display:flex;flex-direction:column}
.welcome-active .welcome-screen{flex:1 1 0;min-height:0;width:100%;margin:0 auto;padding:0 0 14px;display:flex;flex-direction:column;justify-content:center;gap:0}
.welcome-active .welcome-photo{height:auto;flex:1 1 0;min-height:0;max-height:310px;width:100%;margin:0}
.welcome-active .welcome-screen .welcome-wordmark{flex:0 0 auto;font-size:clamp(42px,7.5svh,70px);margin:0;gap:16px}
.welcome-active .welcome-screen .welcome-subtitle{flex:0 0 auto;font-size:clamp(21px,3.3svh,28px);line-height:1.5;margin:10px 0 18px}
.welcome-active .welcome-screen button{flex:0 0 auto;font-size:21px;padding:10px 26px;min-height:48px}
.welcome-active .site-footer{flex:0 0 auto;margin:0 auto;width:calc(100% - 36px);max-width:1120px;padding:0 0 max(16px,env(safe-area-inset-bottom));gap:12px}
.welcome-active .site-footer .footer-rule{background:#777b82;height:1px;min-height:1px}
.welcome-active .site-footer .footer-name{font-size:17px;line-height:1.5;color:#303338;margin:0}
@media(max-width:720px){.signature-monogram{width:43px;height:38px;font-size:30px}.welcome-active .welcome-photo{width:calc(100% + 36px);margin:0 -18px;max-height:300px}.welcome-active .welcome-rm{width:1.35em;height:1.28em;font-size:1em}.welcome-active .welcome-screen .welcome-wordmark{font-size:clamp(38px,7svh,62px)}}
@media(max-height:560px){.welcome-active .site-header{padding-top:7px;padding-bottom:7px}.welcome-active .welcome-screen .welcome-subtitle{margin:5px 0 9px;font-size:20px}.welcome-active .welcome-screen button{min-height:42px;font-size:18px;padding:7px 20px}.welcome-active .site-footer{gap:7px;padding-bottom:8px}.welcome-active .site-footer .footer-name{font-size:15px}}
/* Lift the welcome copy while retaining the fixed single-screen composition. */
.welcome-active .welcome-screen{padding-bottom:clamp(32px,5svh,48px)}
.welcome-active .welcome-photo{max-height:280px;mask-image:linear-gradient(to bottom,transparent 0%,#000 48%,#000 64%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 48%,#000 64%,transparent 100%)}
@media(max-width:720px){.welcome-active .welcome-photo{max-height:270px}}
@media(max-height:560px){.welcome-active .welcome-screen{padding-bottom:20px}}
/* Lock both introduction screens, including root overscroll on mobile Safari. */
html.intro-locked{height:100%;overflow:hidden;overscroll-behavior:none}
html.intro-locked body{position:fixed;inset:0;width:100%;height:100%;height:100dvh;min-height:0;margin:0;overflow:hidden;overscroll-behavior:none}
.intro-locked .site-header{flex:0 0 auto}
.intro-locked main.app-main{flex:1 1 0;min-height:0;overflow:hidden}
.identity-active main.app-main{display:flex;align-items:center;justify-content:center;padding:14px 18px}
.identity-active .identity-screen{width:100%;max-width:580px;min-height:0;max-height:100%;overflow:auto;overscroll-behavior:contain;margin:0;padding:clamp(18px,4vh,38px)!important}
.identity-active .site-footer{flex:0 0 auto;margin:0 auto;width:calc(100% - 36px);max-width:1120px;padding:0 0 max(16px,env(safe-area-inset-bottom));gap:12px}
.identity-active .site-footer .footer-rule{background:#777b82}
.identity-active .site-footer .footer-name{font-size:17px;line-height:1.5;color:#303338;margin:0}
@media(max-height:650px){.identity-active .site-header{padding-top:7px;padding-bottom:7px}.identity-active .identity-screen h1{font-size:27px;margin:3px 0}.identity-active .identity-screen p{margin:4px 0 12px}.identity-active .identity-screen label{margin-top:10px}.identity-active .identity-screen .input-hint{margin:5px 0 14px}.identity-active .site-footer{gap:8px;padding-bottom:10px}}
/* Keep the complete intro inside the visible mobile webview, clear of its controls. */
html.intro-locked body{height:var(--intro-height,100svh);top:var(--intro-top,0px);bottom:auto;touch-action:pan-x pinch-zoom}
@media(max-width:720px){
.intro-locked .site-header{padding-top:max(54px,env(safe-area-inset-top));padding-bottom:12px}
.intro-locked .site-footer{padding-bottom:max(58px,env(safe-area-inset-bottom));gap:10px}
.welcome-active .welcome-screen{padding-bottom:20px}
.welcome-active .welcome-photo{max-height:240px}
.welcome-active .welcome-screen .welcome-wordmark{font-size:clamp(36px,6.5svh,56px)}
.welcome-active .welcome-screen .welcome-subtitle{font-size:clamp(20px,2.9svh,25px);margin:8px 0 16px}
.identity-active .identity-screen{padding:22px!important;overflow:hidden}
.identity-active .identity-screen h1{font-size:30px;margin:5px 0}
.identity-active .identity-screen label{margin-top:16px}
.identity-active .identity-screen .input-hint{margin:6px 0 18px}
}
@media(max-height:580px) and (max-width:720px){.intro-locked .site-header{padding-top:30px}.intro-locked .site-footer{padding-bottom:35px}.identity-active .identity-screen{padding:14px!important}.identity-active .identity-screen p{margin:3px 0 7px}.identity-active .identity-screen label{margin-top:6px}.identity-active .identity-screen .input-hint{margin:4px 0 9px}}
/* Move the photo upward and center the title group in the available screen. */
.welcome-active .welcome-photo{transform:translateY(-28px);margin-bottom:-28px}
.welcome-active .welcome-screen{justify-content:flex-start;padding-top:14px;padding-bottom:20px}
.welcome-active .welcome-screen .welcome-wordmark{margin-top:0}
@media(min-width:721px){.welcome-active .welcome-screen{justify-content:center}.welcome-active .welcome-photo{transform:translateY(-35px);margin-bottom:-35px}}
@media(max-width:720px){.welcome-active .welcome-photo{flex:0 1 240px;height:clamp(140px,30svh,240px);max-height:240px;transform:translateY(-24px);margin-bottom:-24px}.welcome-active .welcome-screen{padding-top:0}.welcome-active .welcome-screen .welcome-wordmark{margin-top:clamp(10px,2svh,20px)}}
/* Approved calendar artwork with a live, accessible start control. */
.accessible-copy{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.welcome-active .site-header,.welcome-active .site-footer{display:none}
.welcome-active main.app-main{padding:0;display:flex;align-items:center;justify-content:center}
.welcome-active .approved-welcome{padding:0;margin:0;max-width:none;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.approved-art{position:relative;height:100%;width:auto;max-width:100%;aspect-ratio:941/1672;flex:none}
.approved-art>img{display:block;width:100%;height:100%;object-fit:contain}
.welcome-active .approved-art #startApp{position:absolute;left:16%;top:71.1%;width:68%;height:8.6%;min-width:0;min-height:0;padding:0;margin:0;border:0;border-radius:4%;background:transparent;box-shadow:none;cursor:pointer}
.welcome-active .approved-art #startApp:hover{background:#ffffff0a;box-shadow:none}
.welcome-active .approved-art #startApp:focus-visible{outline:3px solid #c29c60;outline-offset:3px}
.signature-monogram span:last-child{color:#bd965a}.signature-monogram span:first-child{z-index:1}
@media(max-width:720px){.welcome-active main.app-main{padding:48px 0 44px}.approved-art{width:min(100%,calc((var(--intro-height,100svh) - 92px)*941/1672));height:auto;max-height:100%}}
/* Carry the approved pearl background over the entire welcome viewport. */
html.intro-locked:has(body.welcome-active),body.welcome-active{background:#fafafb}
.welcome-active main.app-main,.welcome-active .approved-welcome{background:linear-gradient(180deg,#fcfcfd 0%,#fafafb 48%,#f7f7f8 100%)}
.approved-art>img{mask-image:linear-gradient(to right,transparent 0%,#000 3%,#000 97%,transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 3%,#000 97%,transparent 100%)}
.welcome-active .approved-art{background:transparent}
body.welcome-active{background:linear-gradient(180deg,#fcfcfd 0%,#fafafb 48%,#f7f7f8 100%)}
.welcome-active main.app-main,.welcome-active .approved-welcome{background:transparent}
/* Seamless white canvas and spacing aligned with the inventory screen. */
html.intro-locked:has(body.welcome-active),body.welcome-active{background:#fff}
.welcome-active main.app-main,.welcome-active .approved-welcome{background:transparent}
.approved-art>img{mask-image:none;-webkit-mask-image:none}
@media(max-width:720px){
.welcome-active main.app-main{padding:12px 0 82px}
.welcome-active .approved-art{width:min(100%,calc((var(--intro-height,100svh) - 94px)*941/1672));height:auto;max-height:100%}
.identity-active .site-header{padding-top:16px;padding-bottom:15px}
.identity-active .site-footer{padding-bottom:max(96px,env(safe-area-inset-bottom));gap:12px}
}
@media(max-height:580px) and (max-width:720px){.identity-active .site-header{padding-top:10px}.identity-active .site-footer{padding-bottom:70px}.identity-active .identity-screen{padding:12px!important}.identity-active .identity-screen h1{font-size:25px}}
#draftStatus{padding:12px 16px;border:1px solid #ccd9d1;background:#f2f7f3;color:#28583d;border-radius:10px;font-size:16px;font-weight:700;margin:0 0 18px}#draftStatus.danger{background:#fff4ec;color:#8b3d20;border-color:#e5b7a0}#resumeSavedDraft{width:100%;margin-top:12px}#draftPrompt{border-color:#b79a69;background:#fffdf7}#draftPrompt h2{font-size:21px}
.approved-art{container-type:inline-size}.approved-subtitle{position:absolute;top:62.7%;left:8%;width:84%;height:5.6%;margin:0!important;display:flex;align-items:center;justify-content:center;background:#fff;color:#111820;font-family:Tajawal,Tahoma,Arial,sans-serif;font-weight:400;font-size:6.1cqw;line-height:1.3;white-space:nowrap}
/* Match the shared header monogram; clear the baked-in initials completely. */
.approved-monogram{position:absolute;top:1.8%;right:3%;width:16%;height:7.3%;background:#fff;z-index:2;display:flex;align-items:center;justify-content:center}
.approved-monogram .signature-monogram{position:relative;display:block;flex:none;font-family:Georgia,'Times New Roman',serif;font-size:6.8cqw;line-height:1;width:1.5em;height:1.3125em;color:#25272b}
.approved-monogram .signature-monogram>span:first-child{position:absolute;left:0;top:0;right:auto;bottom:auto;color:#25272b;z-index:1}
.approved-monogram .signature-monogram>span:last-child{position:absolute;right:0;bottom:0;left:auto;top:auto;color:#bd965a}
.approved-monogram .signature-monogram:after{content:'';position:absolute;right:.3125em;bottom:-.1875em;width:.625em;height:1px;background:#b79a69}
.date-tones{display:flex;flex-wrap:wrap;gap:10px 18px;padding:12px;background:#f3f8f5;border:1px solid #d7e7dd;border-radius:10px;direction:ltr}.date-tones span{display:inline-flex;align-items:center;gap:7px;color:#263c30;font-size:15px}.date-tones i{display:inline-block;width:20px;height:20px;border:1px solid #234b3530;border-radius:4px}.tone-explanation{font-size:14px;margin:10px 0}.hit>span{color:var(--hit-text,#fff)}
.hit{border-width:4px;background:color-mix(in srgb,var(--hit) 48%,transparent);min-width:30px;min-height:30px}.hit>span{font-size:13px;white-space:nowrap;text-shadow:none;border:1px solid #ffffffb0;padding:2px 5px}.date-tones i{width:26px;height:26px;flex:none;border:2px solid #ffffff;box-shadow:0 0 0 1px #234b3540}
