:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#3b202a;background:#f7f5f6;font-synthesis:none;--accent:#4d162a;--muted:#84767b;--line:#eae4e6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}button:disabled{opacity:.55;cursor:wait}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}.brand{display:flex;align-items:center;gap:11px;font-weight:750;font-size:21px;letter-spacing:-.7px}.mark{width:35px;height:37px;display:grid;place-items:center;background:#e4a1ba;color:#3f1726;border-radius:10px;font-weight:850;font-size:24px}.brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:500;margin-top:4px}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;background:#3f1223;color:#f1e7eb;padding:32px 22px;display:flex;flex-direction:column;z-index:10}.sidebar .brand{margin-bottom:49px}.nav-label{font-size:10px;letter-spacing:1.7px;color:#af919c;margin:0 12px 13px}.nav{display:flex;flex-direction:column;gap:7px}.nav a{display:flex;gap:13px;align-items:center;padding:13px 15px;border-radius:9px;color:#ceb7bf;font-size:14px}.nav a.active{background:#592a3b;color:#eab6c9}.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.side-note{margin-top:auto;border:1px solid #623b49;border-radius:12px;padding:17px;color:#cdb6be;font-size:12px;line-height:1.6}.side-note strong{display:block;color:#efc9d7;margin-bottom:6px}.user{display:flex;gap:10px;align-items:center;margin-top:22px;padding-top:20px;border-top:1px solid #623b49}.avatar{width:35px;height:35px;border-radius:50%;background:#e8dce0;display:grid;place-items:center;color:#543440;font-size:12px;font-weight:700}.user-info{flex:1;min-width:0}.user-info strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis}.user-info small{color:#b89ba6;font-size:11px}.main{margin-left:242px}.topbar{height:81px;background:#fff;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{font-size:12px;color:#8a7d82;display:flex;align-items:center;gap:10px}.top-right{display:flex;align-items:center;gap:17px;font-size:12px}.secure{display:flex;align-items:center;gap:7px}.dot{width:6px;height:6px;background:#944d67;border-radius:50%;display:inline-block}.content{max-width:1480px;margin:auto;padding:34px 40px 60px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-head p{font-size:13px;color:var(--muted);margin-top:9px}.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:11px 16px;border-radius:8px;font-size:12px;font-weight:650;border:1px solid var(--line);background:white;white-space:nowrap}.btn.primary{background:var(--accent);border-color:var(--accent);color:white}.btn.lime{background:#e4a1ba;border-color:#e4a1ba;color:#3f1726}.btn.danger{color:#a74439}.btn .icon{width:16px;height:16px}.hero{background:#eedfe4;border:1px solid #e5d4da;border-radius:14px;min-height:170px;display:flex;justify-content:space-between;align-items:center;padding:27px 30px;margin-bottom:24px;position:relative;overflow:hidden}.hero h2{font-size:25px;max-width:450px;margin:10px 0}.hero p{font-size:12px;color:#735b64;max-width:485px}.hero-art{font-size:90px;font-weight:800;letter-spacing:-10px;color:#cb9faf;transform:rotate(-8deg);padding-right:26px;line-height:1}.hero-art span{font-size:12px;display:block;letter-spacing:4px;margin-top:12px;text-align:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:31px}.stat{border:1px solid var(--line);background:white;border-radius:11px;padding:19px 21px}.stat-top{display:flex;justify-content:space-between;color:#85757b;font-size:12px}.stat-top .icon{color:#7f5f6b}.stat-value{font-size:29px;font-weight:650;letter-spacing:-1px;margin:14px 0 6px}.stat-note{color:#978b8f;font-size:11px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:16px}.section-head h2{font-size:18px}.tools{display:flex;gap:10px;align-items:center}.search{display:flex;gap:9px;align-items:center;border:1px solid var(--line);background:white;border-radius:8px;padding:9px 12px}.search input{border:0;background:none;outline:none;width:180px;font-size:12px}.search .icon{width:15px;color:#8c7d82}.filters{display:flex;gap:5px;margin-bottom:19px}.filter{font-size:12px;padding:8px 13px;color:#847379;border-radius:7px}.filter.active{background:#ecdfe4;color:#5b3644;font-weight:600}.contracts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.contract-card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .15s,border-color .15s}.contract-card:hover{transform:translateY(-2px);border-color:#bda5ae}.card-main{padding:22px}.card-row{display:flex;justify-content:space-between;align-items:center}.folder{width:43px;height:43px;border-radius:11px;display:grid;place-items:center;background:#f1e5e9;color:#804d60}.folder .icon{width:24px;height:24px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;padding:5px 9px;border-radius:5px;background:#f3e9ed;color:#744757}.badge.pending{color:#a07b30;background:#fbf4df}.badge.revision{background:#faeae6;color:#ac5946}.badge.approved{background:#f2e5ea;color:#723149}.badge.neutral{background:#f1eff0;color:#857b7f}.contract-card h3{font-size:18px;letter-spacing:-.4px;margin:19px 0 7px}.contract-card .number{font-size:11px;color:#958b8f}.meta{display:flex;gap:19px;flex-wrap:wrap;margin:19px 0;color:#8b7c82;font-size:11px}.meta span{display:flex;align-items:center;gap:6px}.meta .icon{width:14px;height:14px}.progress-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:9px;color:#887c80}.progress-label strong{color:#5c3644}.progress{height:5px;background:#f0eaec;border-radius:5px;overflow:hidden}.progress>i{display:block;height:100%;background:#9a5870;border-radius:5px}.card-footer{padding:13px 22px;border-top:1px solid #f0eced;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#908287;background:#fdfbfc}.card-footer strong{color:#64424e;display:flex;gap:8px;align-items:center}.card-footer .icon{width:14px}.empty{padding:55px 25px;text-align:center;border:1px dashed #d6c8cd;border-radius:12px;background:#fcf8f9}.empty .folder{margin:0 auto 18px}.empty p{font-size:13px;color:#887a7f;margin:10px auto 20px;max-width:440px}.bottom-note{font-size:11px;color:#978b8f;margin-top:23px;display:flex;gap:7px;align-items:center}.detail-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:22px}.element-nav{background:white;border:1px solid var(--line);border-radius:11px;align-self:start;padding:15px 10px;position:sticky;top:20px}.element-nav .eyebrow{padding:8px 10px 15px;color:#978a8f;font-size:9px}.element-btn{display:flex;text-align:left;align-items:center;width:100%;gap:9px;padding:12px 9px;border-radius:7px;font-size:11px;line-height:1.5;color:#807176}.element-btn.active{background:#f0e3e8;color:#5b3644;font-weight:600}.element-num{width:25px;height:25px;display:grid;place-items:center;background:#f4edf0;border-radius:6px;flex-shrink:0}.criterion{background:white;border:1px solid var(--line);border-radius:11px;margin-bottom:16px}.criterion-head{padding:19px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.criterion-head h3{font-size:14px;line-height:1.6}.criterion-head h3 span{color:#956476;margin-right:9px}.criterion-head small{color:#9b9195;font-size:10px}.requirement{padding:17px 20px;border-bottom:1px solid #f0ebed}.requirement:last-child{border-bottom:0}.requirement-title{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.req-name{display:flex;align-items:center;gap:10px;line-height:1.5}.check{width:19px;height:19px;border:1px solid #e1d4d9;border-radius:50%;display:grid;place-items:center;color:#764859;flex-shrink:0;font-size:11px}.check.done{background:#f1dfe6}.file-row{margin:12px 0 0 29px;background:#f9f5f6;border:1px solid #ece2e6;border-radius:7px;padding:11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.file-info{min-width:0}.file-info strong{display:block;font-size:11px;overflow-wrap:anywhere}.file-info small{display:block;font-size:10px;color:#928087;margin-top:5px}.file-actions{display:flex;gap:10px;align-items:center}.text-btn{font-size:11px;color:#734656;padding:5px}.note{font-size:11px;color:#a66748;margin:9px 0 0 29px;line-height:1.6}.na-note{padding:14px 20px;background:#fbf8ed;font-size:12px;line-height:1.7}.modal-overlay{position:fixed;inset:0;background:#2e141e80;z-index:100;display:flex;align-items:center;justify-content:center;padding:25px;backdrop-filter:blur(3px)}.modal{background:#fff;border-radius:15px;width:590px;max-width:100%;max-height:90vh;overflow:auto}.modal.wide{width:850px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 27px 19px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:20px}.close{font-size:25px;color:#94878c}.modal-body{padding:24px 27px}.modal-body>p{font-size:12px;color:#897a7f;margin-bottom:19px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.form-grid .field{margin:0}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:550;color:#664e57}.field input,.field select,.field textarea{border:1px solid #e4d7dc;border-radius:7px;padding:11px 12px;background:#fff;min-width:0;width:100%;color:#4e303b;font-size:13px}.field input:focus,.field textarea:focus{outline:2px solid #d8aebd}.field textarea{min-height:85px;resize:vertical}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.info-box{background:#f5e9ed;border-radius:8px;padding:13px 15px;font-size:11px;line-height:1.7;color:#805c69;margin-top:18px}.upload-zone{border:1px dashed #cbb0ba;border-radius:10px;padding:25px;text-align:center;background:#faf2f5;margin-bottom:18px}.upload-zone input{max-width:100%;font-size:12px}.upload-zone p{font-size:11px;margin-top:12px;color:#977e87}.error{color:#ab4a3c;font-size:12px;margin:15px 0;line-height:1.5}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#3f1223;padding:55px 65px;color:#f4e3e9;display:flex;flex-direction:column}.auth-story .brand{margin-bottom:110px}.auth-story h1{font-size:45px;line-height:1.2;max-width:480px;letter-spacing:-1.8px}.auth-story h1 em{font-style:normal;color:#e4a1ba}.auth-story>p{font-size:14px;max-width:400px;color:#c2a7b1;margin-top:25px}.auth-structure{margin:40px 0;padding:22px;border:1px solid #6a4a56;border-radius:12px;max-width:400px}.auth-structure div{padding:11px;display:flex;gap:12px;align-items:center;font-size:12px}.auth-structure div+div{border-top:1px solid #583642}.auth-structure .icon{color:#e4a1ba}.auth-story footer{margin-top:auto;font-size:10px;letter-spacing:1px;color:#a98b96}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.auth-form{width:365px}.auth-form h2{font-size:29px;letter-spacing:-.8px;margin:13px 0}.auth-form>p{font-size:13px;color:#938389;margin-bottom:30px}.auth-form .btn{width:100%;padding:13px}.auth-foot{font-size:10px;color:#a08f95;text-align:center;margin-top:25px;line-height:1.8}.activity-item{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:13px;align-items:center;font-size:13px}.activity-item small{display:block;margin-top:6px;color:#98888e;font-size:11px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}.user-row{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.user-row:last-child{border:0}.user-row strong{font-size:13px}.user-row small{display:block;font-size:11px;color:#947f87;margin-top:5px}.user-row .badge{margin-left:auto}.member-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.member-row small{color:#95848a}.comment{background:#f8f1f4;padding:12px;border-radius:7px;font-size:12px;margin-bottom:10px;white-space:pre-wrap;overflow-wrap:anywhere}.comment small{display:block;color:#968088;font-size:10px;margin-bottom:6px}.mobile-toggle{display:none}#toast{position:fixed;bottom:25px;right:25px;background:#3f1726;color:#fff;border-radius:9px;padding:14px 22px;font-size:13px;z-index:200;display:none;max-width:420px}.loading{padding:80px;text-align:center;color:#806b73}.overview-summary{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:#8a767d;margin-bottom:23px}.preview-frame{width:100%;height:60vh;border:1px solid var(--line);border-radius:8px}.version-row{padding:15px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:12px}.version-row small{display:block;margin-top:7px;color:#958289;font-size:11px}@media(min-width:1550px){.contracts{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:205px;padding:26px 17px}.main{margin-left:205px}.content{padding:28px 25px}.topbar{padding:0 25px}.stats{gap:10px}.stat{padding:16px}.hero-art{font-size:70px}.detail-layout{grid-template-columns:190px 1fr}.tools{flex-wrap:wrap}.section-head{align-items:flex-start}}@media(max-width:800px){.sidebar{display:none;width:240px}.sidebar.open{display:flex;box-shadow:0 0 0 100vmax #0005}.main{margin:0}.mobile-toggle{display:block}.topbar{height:65px;padding:0 18px}.breadcrumb{flex:1}.top-right .secure{display:none}.content{padding:25px 18px}.stats{grid-template-columns:repeat(2,1fr)}.contracts{grid-template-columns:1fr}.hero{padding:23px}.hero-art{display:none}.page-head{align-items:flex-start}.page-head h1{font-size:25px}.page-head .btn{padding:10px;font-size:11px}.section-head{flex-direction:column}.search input{width:100%}.search{width:100%}.tools{width:100%}.detail-layout{grid-template-columns:1fr}.element-nav{position:static;display:flex;overflow:auto;padding:8px}.element-nav .eyebrow{display:none}.element-btn{width:auto;flex-shrink:0;max-width:180px}.auth{grid-template-columns:1fr}.auth-story{display:none}.auth-form-wrap{padding:30px;min-height:100vh}.file-row{margin-left:0;flex-wrap:wrap}.requirement-title{align-items:flex-start}.criterion-head{align-items:flex-start}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal-overlay{padding:12px}.modal-body{padding:20px}.modal-header{padding:20px}.filters{flex-wrap:wrap}.top-right{font-size:10px}.file-actions{flex-wrap:wrap}}

/* Corporate identity: supplied logo is preserved without alteration. */
.brand{gap:10px;align-items:center;letter-spacing:0;line-height:1.25}
.brand-logo{width:43px;height:43px;object-fit:contain;background:white;border-radius:50%;padding:3px;flex-shrink:0}
.brand-name{font-size:13px;font-weight:700;min-width:0}
.brand-name span{display:block;font-size:11px;font-weight:550;margin-top:3px}
.brand-name small{font-size:8px;letter-spacing:1.5px;margin-top:7px;color:#c6a9b4}
.auth-story .brand-logo{width:57px;height:57px}
.auth-story .brand-name{font-size:19px}
.auth-story .brand-name span{font-size:15px}
.auth-story .brand-name small{font-size:9px}
.req-name{min-width:0;overflow-wrap:anywhere}.requirement-title>div:last-child{flex-shrink:0}
@media(max-width:800px){.requirement-title{flex-wrap:wrap}.requirement-title>div:last-child{margin-left:29px}.page-head{flex-wrap:wrap}.auth-form>span.eyebrow{line-height:1.7}.auth-form-wrap{padding:25px}}

.pdf-body{background:#ece5e8}.pdf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;position:sticky;top:0;background:#f9f5f6;border-bottom:1px solid #ded0d5}.pdf-toolbar span{font-size:11px}.pdf-toolbar .btn{font-size:10px;padding:8px}.pdf-root{display:flex;justify-content:center;align-items:flex-start;min-height:180px;padding:14px;overflow:auto;font-size:12px;line-height:1.7}.pdf-root canvas{display:block;background:white}

.folder-small{color:#865366;flex-shrink:0}.file-count{display:block;margin-top:5px;font-size:10px;color:#917f86}.folder-empty{margin:12px 0 0 29px;font-size:11px;color:#9c8a91}.file-row{align-items:flex-start}.file-actions{flex-wrap:wrap;justify-content:flex-end;max-width:350px}.file-info{flex:1}@media(max-width:800px){.file-actions{max-width:none;justify-content:flex-start}.file-info{flex-basis:100%}}

/* Burgundy workspace: quiet motion, strong contrast, no continuous animation. */
:root{--accent:#782b46;--accent-deep:#482031;--accent-soft:#f6edf0;--muted:#82747a;--line:#eadfe3}
.sidebar,.auth-story{background:var(--accent-deep)}
.btn.primary{background:var(--accent);border-color:var(--accent)}
.nav a.active{background:#71374e;color:#fff3f7}
.hero{background:#f4e9ed;border-color:#ead6df;min-height:145px}
.hero-art{color:#d4a8b9}.hero .eyebrow{color:#8b5368}.hero p{color:#876776}
.dot{background:#b86a86}.progress>i{background:#9c4868}
.btn,.text-btn,.nav a,.element-btn{transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease,transform 160ms ease}
.btn.primary:hover{background:#632039;border-color:#632039}.btn:active{transform:translateY(1px)}
.nav a:hover{background:#683348;color:#fff}.text-btn:hover{background:var(--accent-soft);border-radius:5px}
.content>.page-head,.content>.hero,.content>.stats,.contract-trend{animation:workspace-enter 380ms ease both}
.content>.hero{animation-delay:35ms}.content>.stats{animation-delay:65ms}.contract-trend{animation-delay:95ms}
.modal{animation:workspace-enter 180ms ease both}.contract-card:hover{border-color:#c491a6}
@keyframes workspace-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.contract-trend{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:30px}
.trend-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:22px}
.trend-heading h2{font-size:18px;margin-top:6px}.trend-heading p{font-size:11px;color:var(--muted);margin-top:7px}
.trend-select{font-size:11px;color:#70505d;border:1px solid var(--line);background:#fff;border-radius:7px;padding:9px}
.trend-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px}
.trend-summary{border-right:1px solid var(--line);padding-right:22px;display:flex;flex-direction:column;justify-content:center}
.trend-kicker{font-size:11px;color:var(--muted)}.trend-number{font-size:39px;letter-spacing:-1.5px;font-weight:650;margin:8px 0;color:var(--accent)}
.trend-change{font-size:11px;color:#8c6675;line-height:1.6}.trend-active{border-top:1px solid var(--line);padding-top:14px;margin-top:18px;font-size:11px;color:var(--muted)}.trend-active strong{color:#62414f}
.month-chart{margin:0;min-width:0}.chart-axis-title{font-size:10px;color:var(--muted);margin-bottom:8px}
.chart-area{display:flex;gap:10px;height:173px}.chart-y{display:flex;flex-direction:column;justify-content:space-between;width:23px;font-size:10px;color:#9d8991;padding-bottom:0}
.chart-columns{position:relative;display:flex;justify-content:space-around;align-items:stretch;gap:8px;flex:1;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#f5eff2 calc(25% - 1px),#f5eff2 25%)}
.month-bar{display:flex;flex:1;max-width:64px;align-items:center;flex-direction:column;justify-content:flex-end;padding:0 5px;position:relative;min-width:0}
.month-bar:focus-visible{outline:2px solid var(--accent);border-radius:5px}.month-bar:hover .bar-fill{background:#a95577}
.bar-value{font-size:11px;font-weight:650;color:#8a6474;margin-bottom:7px;z-index:1}
.bar-fill{width:100%;max-width:34px;border-radius:5px 5px 0 0;background:#d9b4c3;height:var(--bar-height);min-height:3px;transform-origin:bottom;animation:bar-reveal 600ms cubic-bezier(.2,.7,.3,1) both;animation-delay:var(--bar-delay)}
.month-bar.current .bar-fill{background:var(--accent)}.month-bar.current .bar-value{color:var(--accent)}
.chart-months{display:flex;margin:9px 0 0 33px;gap:8px;justify-content:space-around}.chart-months span{flex:1;max-width:64px;text-align:center;font-size:10px;color:#927e87}.chart-months span.current{color:var(--accent);font-weight:700}
.chart-footer{display:flex;justify-content:space-between;gap:15px;margin-top:18px;font-size:10px;color:#9a8790;line-height:1.6}.chart-footer .legend{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.legend i{width:7px;height:7px;border-radius:2px;background:var(--accent)}
.month-contract{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.month-contract strong{display:block;font-size:12px}.month-contract small{display:block;color:var(--muted);font-size:11px;margin-top:6px}
@keyframes bar-reveal{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@media(max-width:800px){.trend-layout{grid-template-columns:1fr;gap:20px}.trend-summary{border-right:0;border-bottom:1px solid var(--line);padding:0 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.trend-summary>div:first-child{grid-row:span 2}.trend-active{margin:0;border:0;padding:0;align-self:end}.contract-trend{padding:19px 15px}.trend-heading{gap:10px}.trend-heading h2{font-size:16px}.trend-select{max-width:110px}.chart-footer{flex-direction:column;gap:6px}.month-bar{padding:0 2px}.chart-columns,.chart-months{gap:3px}.bar-value{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.chart-area{margin-top:20px}.bar-value{position:absolute;bottom:calc(var(--bar-height) + 5px);margin:0}.month-bar{overflow:visible}
/* People and file management */
.profile-avatar{width:36px;height:36px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#f1e5eb;color:#85546a;overflow:hidden;border:2px solid white;vertical-align:middle}
.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar svg{width:70%;height:70%;fill:currentColor;stroke:none}
.profile-avatar.avatar-small{width:27px;height:27px}.profile-avatar.avatar-tiny{width:29px;height:29px}
.profile-button{padding:0;border-radius:50%;display:inline-flex}.profile-button:hover{outline:2px solid #c394a8}
.avatar-stack{display:inline-flex;align-items:center;flex-shrink:0;padding-left:5px}.avatar-stack .profile-avatar,.avatar-more{margin-left:-5px}
.avatar-more{height:29px;min-width:29px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e7d9e0;border:2px solid #fff;color:#79465a;font-size:10px;padding:0 4px}
.contributor-button{display:inline-flex;align-items:center;gap:8px;padding:3px 0;font-size:10px;color:#8c7580;text-align:left;max-width:100%}.contributor-button:hover{color:var(--accent)}
.card-contributors{display:flex;align-items:center;gap:8px;margin:0 22px 16px;min-height:29px;font-size:10px;color:#937d87}
.contract-people{display:flex;align-items:center;gap:15px;margin:-3px 0 22px;font-size:11px;color:var(--muted);flex-wrap:wrap}
.criterion-head .contributor-button{margin-top:5px}.req-name .contributor-button{margin-top:4px}
.detail-layout>section{min-width:0}.file-row{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px 12px;padding:15px;margin:13px 0 0;background:#faf7f8;align-items:start}
.file-symbol{color:#9b6c80;padding-top:3px}.file-info{min-width:0}.file-info>strong{font-size:12px;line-height:1.6;overflow-wrap:anywhere;word-break:break-word}
.file-info>small{font-size:10px;line-height:1.7}.file-uploader{display:flex;gap:8px;align-items:center;margin-top:11px;min-width:0}
.file-uploader>div{min-width:0}.file-uploader span{font-size:10px;color:#96808b;line-height:1.6}.file-uploader strong{display:inline;font-size:10px;color:#6e4b5b;font-weight:600;overflow-wrap:anywhere}
.file-uploader time{display:block;font-size:10px;color:#a08a94;line-height:1.6}.file-uploader .profile-avatar{flex-basis:27px}
.file-actions{grid-column:2;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;max-width:none;width:100%;border-top:1px solid #eddee5;padding-top:9px}
.file-action-buttons{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.file-action-buttons .text-btn{padding:6px 8px;min-height:30px;font-size:10px}
.delete-file{color:#a94b54}.delete-file:hover{background:#f8e5e8}.contributor-person{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}
.contributor-person strong{font-size:13px;overflow-wrap:anywhere}.contributor-person small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.6}
.trash-file{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line)}.trash-file>div{min-width:0}.trash-file strong{font-size:12px;overflow-wrap:anywhere}.trash-file small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:6px}
.profile-summary{display:flex;gap:15px;align-items:center;margin-bottom:25px}.profile-summary .profile-avatar{width:60px;height:60px}.profile-summary>div{min-width:0}.profile-summary h3{overflow-wrap:anywhere}.profile-summary p{font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin-top:5px}
.remove-photo{display:flex;gap:8px;font-size:12px;align-items:center}.version-row small .profile-avatar{margin-right:5px}.modal .btn{min-height:38px}
@media(min-width:1450px){.file-row{grid-template-columns:30px minmax(0,1fr) 235px}.file-actions{grid-column:3;grid-row:1;border-top:0;padding-top:0;justify-content:flex-end;align-content:flex-start}.file-action-buttons{justify-content:flex-end}}
@media(max-width:1100px){.page-head .tools{width:auto;flex-shrink:0}.page-head{flex-wrap:wrap}.detail-layout{grid-template-columns:185px minmax(0,1fr)}}
@media(max-width:800px){.detail-layout{grid-template-columns:minmax(0,1fr)}.element-nav{max-width:100%;scrollbar-width:thin}.criterion-head{gap:8px;padding:15px}.requirement{padding:16px 14px}.requirement-title{gap:12px}.requirement-title>div:last-child{margin-left:0;flex-wrap:wrap}.req-name{flex:1 1 100%}.file-row{grid-template-columns:24px minmax(0,1fr);gap:8px;padding:12px}.file-actions{grid-column:1/-1;justify-content:flex-start}.file-action-buttons{justify-content:flex-start;flex:1 1 100%;gap:3px}.file-action-buttons .text-btn{padding:8px;min-height:36px}.file-uploader{align-items:flex-start}.file-uploader span{display:block}.file-uploader .profile-avatar{display:inline-flex}.trash-file{align-items:flex-start;flex-wrap:wrap}.card-contributors{margin-left:22px}.page-head .tools{width:100%;gap:8px}.page-head .tools .btn{min-height:38px}.contract-people{gap:8px}.modal{max-width:100%;overflow-x:hidden}.file-info>strong{font-size:11px}}
/* Soft cloud wash: a stable pastel hue for each contract, with clear reading areas. */
.contract-cloud{position:relative;isolation:isolate;background:#fff;border-color:#e8e2e6}
.contract-cloud::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 65% 49% at 95% 3%,hsl(var(--cloud-hue) 58% 86% / .68) 0%,hsl(var(--cloud-hue) 58% 92% / .42) 47%,transparent 76%),radial-gradient(ellipse 43% 37% at 64% 14%,hsl(calc(var(--cloud-hue) + 19) 58% 90% / .58) 0%,transparent 76%),radial-gradient(ellipse 41% 31% at 98% 44%,hsl(calc(var(--cloud-hue) - 14) 53% 92% / .58) 0%,transparent 78%),linear-gradient(155deg,#fff 35%,hsl(var(--cloud-hue) 32% 98%) 100%);filter:blur(9px);opacity:.93;transition:opacity 220ms ease}
.contract-cloud:hover::before{opacity:1}
.contract-cloud .card-main{position:relative;background:transparent}
.contract-cloud .folder{background:hsl(var(--cloud-hue) 40% 96% / .85);border:1px solid hsl(var(--cloud-hue) 34% 87% / .5);color:hsl(var(--cloud-hue) 23% 41%)}
.contract-cloud .card-footer{background:rgb(255 255 255 / .82);border-top-color:rgb(228 219 224 / .65)}
.contract-cloud .number,.contract-cloud .meta{color:#82737b}
@media(prefers-reduced-motion:reduce){.contract-cloud::before{transition:none}}

.section-head h2.dashboard-contract-title{font-size:24px;letter-spacing:-.5px}.dashboard-contract-title .small{font-size:20px;font-weight:500}@media(max-width:800px){.section-head h2.dashboard-contract-title{font-size:22px}.dashboard-contract-title .small{font-size:18px}}
/* Keep the sidebar fully inside the viewport, including short / zoomed windows. */
:root{--sidebar-width:252px}
.sidebar{inset:0 auto 0 0;width:var(--sidebar-width);height:100vh;height:100dvh;max-height:100dvh;padding:28px 20px 20px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8a5269 transparent;flex-shrink:0;align-items:stretch}
.sidebar>*{flex-shrink:0;min-width:0;max-width:100%}
.sidebar .brand{width:100%;margin-bottom:34px;gap:11px;align-items:center}
.sidebar .brand-logo{width:42px;height:42px;flex:0 0 42px}
.sidebar .brand-name{flex:1;min-width:0;line-height:1.4;overflow-wrap:anywhere}
.sidebar .brand-name span{line-height:1.4}.sidebar .brand-name small{font-size:8px;letter-spacing:1.4px}
.sidebar .nav{width:100%;gap:7px;margin-bottom:24px}
.sidebar .nav a{min-height:46px;padding:12px;gap:11px;line-height:1.45;width:100%;overflow-wrap:anywhere}
.sidebar .nav-label{margin-left:12px}.sidebar .side-note{margin-top:auto;padding:15px;line-height:1.7}
.sidebar .user{width:100%;gap:10px;margin-top:19px;padding-top:17px;align-items:center}
.sidebar .user-info strong{line-height:1.45;white-space:normal;overflow-wrap:anywhere;overflow:visible;font-size:11px}
.sidebar .user-info small{display:block;margin-top:4px;line-height:1.5;font-size:10px}
.sidebar .user>button{flex-shrink:0}.sidebar .profile-button{width:36px;height:36px;align-items:center;justify-content:center}
.main{margin-left:var(--sidebar-width);min-width:0}
@media(max-width:1100px){:root{--sidebar-width:220px}.sidebar{padding:25px 18px 18px}.sidebar .brand-name{font-size:12px}.sidebar .brand-name span{font-size:10px}}
@media(max-width:800px){.main{margin-left:0}.sidebar{width:min(280px,calc(100vw - 40px));max-width:100%;padding:25px 20px}.sidebar .brand-name{font-size:13px}.sidebar .brand-name span{font-size:11px}}
@media(max-height:650px){.sidebar .brand{margin-bottom:23px}.sidebar .side-note{margin-top:16px}.sidebar .nav{margin-bottom:6px}}

.criterion-actions,.requirement-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.criterion-actions{flex-shrink:0}.zip-folder-link{display:inline-block;margin-top:7px;padding-left:0}.requirement-actions{margin-left:auto}.page-head .tools{flex-wrap:wrap}@media(max-width:800px){.criterion-actions{flex-shrink:1;max-width:115px}.requirement-actions{margin-left:0;justify-content:flex-start;width:100%}.page-head .tools .btn{white-space:normal}}
/* Certificate popup: white space and vertical choreography from the reference video. */
.certificate-overlay{padding:24px;background:rgb(30 22 27 / .55)}
.certificate-dialog{position:relative;width:min(1080px,100%);height:min(700px,calc(100dvh - 48px));min-height:280px;background:#fff;border-radius:13px;overflow:hidden;color:#202020}
.certificate-stage{position:absolute;inset:56px 35px 70px;overflow:hidden;isolation:isolate}
.certificate-slide{position:absolute;inset:0;overflow:visible}
.certificate-composition{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:82%;height:70%;display:grid;grid-template-columns:1.12fr 1fr;column-gap:12%;align-items:center}
.certificate-art{height:100%;width:100%;min-width:0;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;will-change:transform,clip-path}
.certificate-image{display:block;width:100%;height:100%;object-fit:contain;max-height:100%;max-width:100%}
canvas.certificate-image{object-fit:contain}
.certificate-caption{min-width:0;position:relative;z-index:2;align-self:center;margin-bottom:10%;will-change:transform,opacity}
.certificate-caption h2{font-size:clamp(19px,2.5vw,30px);font-weight:650;line-height:1.15;letter-spacing:-.8px;overflow-wrap:anywhere;max-width:280px;background:#fff;padding:5px 0}
.certificate-rule{position:absolute;z-index:0;top:66%;left:31%;width:35%;height:1px;background:#bdbdbd;transform-origin:left center}
.image-right .certificate-art{grid-column:2;grid-row:1}.image-right .certificate-caption{grid-column:1;grid-row:1}.image-right .certificate-rule{left:28%;transform-origin:right center}
.gallery-control{width:35px;height:35px;padding:9px;border:0;border-radius:50%;background:transparent;color:#777;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s,color .15s}
.gallery-control svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}
.gallery-control:hover,.gallery-control:focus-visible{background:#f3edef;color:#782b46}.gallery-close{position:absolute;top:17px;right:18px;z-index:4}
.gallery-controls{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;z-index:3}
.gallery-control-divider{height:15px;width:1px;background:#e9e4e6;margin:0 6px}
.gallery-position{position:absolute;bottom:35px;right:30px;display:flex;flex-wrap:wrap;gap:5px;max-width:100px;justify-content:flex-end}
.gallery-dot{padding:0;width:5px;height:5px;border-radius:50%;background:#dedade;border:0;min-width:5px}.gallery-dot.selected{background:#6e5f65}.gallery-dot:focus-visible{outline:2px solid #782b46;outline-offset:3px}
.gallery-loading{height:100%;display:grid;place-items:center}.gallery-loading span{width:60px;height:2px;background:#eadfe3;overflow:hidden}.gallery-loading span::after{content:'';display:block;width:30%;height:100%;background:#9b7787;animation:gallery-wait 1s ease-in-out infinite alternate}
@keyframes gallery-wait{to{transform:translateX(140px)}}
.certificate-empty{height:100%;display:flex;flex-direction:column;justify-content:center;max-width:430px;margin:auto;text-align:center;padding:20px}
.certificate-empty h2{font-size:20px;overflow-wrap:anywhere}.certificate-empty p{font-size:12px;color:#8d7f86;margin-top:15px;line-height:1.8}
.certificate-gallery-link{margin-top:7px;display:inline-flex;gap:7px;align-items:center;padding-left:0}
@media(max-width:600px){.certificate-overlay{padding:12px}.certificate-dialog{height:min(710px,calc(100dvh - 24px));border-radius:11px}.certificate-stage{inset:55px 18px 85px}.certificate-composition{width:90%;height:85%;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:25px}.certificate-art,.image-right .certificate-art{grid-column:1;grid-row:1}.certificate-caption,.image-right .certificate-caption{grid-column:1;grid-row:2;align-self:start;margin:0}.certificate-caption h2{font-size:20px;line-height:1.25;max-width:none;letter-spacing:-.4px;text-align:center}.certificate-rule,.image-right .certificate-rule{left:20%;top:auto;bottom:15%;width:60%}.gallery-position{right:18px;bottom:64px;max-width:100%;left:18px;justify-content:center}.gallery-controls{bottom:18px}.certificate-empty h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.gallery-loading span::after{animation:none}}
/* refrensi.gif: nine staggered editorial tiles, continuous upward scroll, focus zoom. */
.editorial-overlay{background:rgb(224 227 227 / .94);backdrop-filter:blur(5px);padding:24px}
.editorial-dialog{width:min(1440px,calc(100vw - 32px),calc(159.8dvh - 51.2px));height:auto;min-height:0;aspect-ratio:652 / 408;border-radius:0;max-height:calc(100dvh - 32px)}
.editorial-stage{inset:0;isolation:isolate}.editorial-header{position:absolute;left:5%;top:8.5%;right:5%;display:flex;gap:10px;align-items:center;z-index:6;pointer-events:none}.editorial-header img{width:21px;height:21px;object-fit:contain}.editorial-demo-label{font-size:7px;letter-spacing:1.5px;color:#9c9698}
.editorial-dialog .gallery-close{top:6%;right:3%;width:28px;height:28px;padding:7px;z-index:7}.editorial-dialog .gallery-controls{bottom:3%;gap:3px;z-index:7;opacity:.7}.editorial-dialog .gallery-control{width:28px;height:28px;padding:7px}.editorial-dialog .gallery-control svg{width:14px;height:14px}
.editorial-progress{position:absolute;bottom:4.5%;left:5%;font-size:8px;color:#777;letter-spacing:1px;z-index:7;font-variant-numeric:tabular-nums}
.editorial-scroll{position:absolute;inset:0;will-change:transform}.editorial-item{position:absolute;min-width:0}.editorial-item-visual{height:100%;width:100%;overflow:hidden;background:#f7f5f2}.editorial-item-visual .certificate-image{width:100%;height:100%;object-fit:contain}
.editorial-number{position:absolute;top:-13px;left:7px;font-family:Georgia,serif;font-weight:bold;font-size:clamp(15px,2vw,25px);line-height:1;z-index:2}
.editorial-item-title{position:absolute;left:calc(100% + 9px);top:29%;font-size:clamp(7px,.78vw,10px);font-weight:500;line-height:1.35;letter-spacing:0;max-width:98px;width:45%;overflow-wrap:anywhere;color:#343434}
.item-right .editorial-item-title{left:-11px;top:0;width:100%;max-width:none;transform:rotate(-90deg) translateX(-100%);transform-origin:top left;font-size:clamp(6px,.65vw,8px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.editorial-ghost-title{position:absolute;left:62%;top:30%;width:33%;font:700 clamp(19px,3.3vw,42px)/1.02 Georgia,serif;letter-spacing:-.6px;color:#dedede;pointer-events:none;z-index:2;overflow-wrap:anywhere}
.editorial-focus{position:absolute;inset:0;pointer-events:none;z-index:3}.editorial-focus-white{position:absolute;inset:0;background:#fff}.editorial-focus-art{position:absolute;overflow:hidden;background:#f6f3ef;will-change:left,top,width,height}.editorial-focus-art .certificate-image{width:100%;height:100%;object-fit:contain}
.editorial-focus-copy{position:absolute;left:56%;top:25%;width:37%;color:#333;will-change:opacity,transform}.editorial-focus-copy h2{font:700 clamp(20px,3vw,38px)/1.07 Georgia,serif;letter-spacing:-.7px;overflow-wrap:anywhere}
.editorial-unavailable{display:flex;align-items:center;justify-content:center;height:100%;font-size:10px;color:#999}.certificate-demo-link{font-size:11px;margin-left:15px}
@media(max-width:600px){.editorial-overlay{padding:12px}.editorial-dialog{width:100%;aspect-ratio:652 / 650;max-height:calc(100dvh - 24px);border-radius:4px}.editorial-stage{inset:0}.editorial-header{top:5%}.editorial-header img{width:17px;height:17px}.editorial-dialog .gallery-close{top:3%}.editorial-dialog .gallery-controls{bottom:2%}.editorial-progress{bottom:4%}.editorial-number{font-size:17px;top:-10px}.editorial-item-title{font-size:7px;max-width:70px;width:46%}.item-right .editorial-item-title{font-size:6px}.editorial-ghost-title{font-size:21px}.editorial-focus-copy{left:55%;width:39%;top:30%}.editorial-focus-copy h2{font-size:20px;line-height:1.1}.editorial-demo-label{font-size:6px;letter-spacing:.8px}.certificate-demo-link{margin-left:0;display:inline-flex}}

.editorial-ghost-title{font-size:clamp(18px,2.5vw,32px);width:35%;overflow-wrap:break-word}

/* Uniform landscape certificates in the staggered gallery. */
.editorial-item{height:auto!important;aspect-ratio:820 / 550}.editorial-item-visual{position:absolute;inset:0;height:100%}

/* Both columns use horizontal, single-line side captions. */
.editorial-item-title,.item-right .editorial-item-title{position:absolute;left:calc(100% + 14px);top:29%;width:43%;max-width:none;transform:none;transform-origin:initial;font-size:14px;line-height:1.4;font-weight:500;white-space:nowrap;overflow-wrap:normal;word-break:normal;overflow:hidden;text-overflow:ellipsis;margin:0}
.editorial-focus-copy{left:72%;width:25%;top:38%}.editorial-focus-copy h2{font-size:32px;line-height:1.2;white-space:nowrap;overflow-wrap:normal;word-break:normal;overflow:hidden;text-overflow:ellipsis}
.editorial-item{cursor:pointer}.editorial-item:focus-visible{outline:3px solid #87536b;outline-offset:5px}
@media(max-width:600px){.editorial-item-title,.item-right .editorial-item-title{left:calc(100% + 6px);width:43%;font-size:9px}.editorial-focus-copy{left:72%;width:25%;top:35%}.editorial-focus-copy h2{font-size:16px}}

/* Alternate caption placement without rotating or wrapping the text. */
.item-right .editorial-item-title{left:auto;right:calc(100% + 14px);text-align:right;transform:none;white-space:nowrap}
@media(max-width:600px){.item-right .editorial-item-title{left:auto;right:calc(100% + 6px)}}

/* Fixed white edge veil reproduces the reference's fade during upward exit. */
.editorial-stage::after{content:"";position:absolute;left:0;right:0;top:0;height:19%;background:linear-gradient(to bottom,#fff 0%,rgb(255 255 255 / .97) 14%,rgb(255 255 255 / .66) 48%,rgb(255 255 255 / .17) 78%,rgb(255 255 255 / 0) 100%);pointer-events:none;z-index:2}
.editorial-stage[data-phase="detail"]::after{display:none}

/* Reference-style scroll progress line, independent of the moving images. */
.editorial-scroll-rail{position:absolute;left:3.5%;top:18%;bottom:13%;width:1px;background:#e9e6e6;z-index:6;pointer-events:none;transition:opacity .35s}
.editorial-scroll-rail span{position:absolute;left:0;top:0;width:1px;height:23%;background:#8b8386;transform:translateY(calc(var(--gallery-progress,0) * 334.78%));will-change:transform}
.editorial-dialog.gallery-detail .editorial-scroll-rail{opacity:0}
@media(max-width:600px){.editorial-scroll-rail{left:2.5%;top:16%;bottom:15%}}

/* Approved editorial concept: ivory paper, restrained blush, rich side captions. */
.editorial-dialog{background:#fcfaf7;background-image:radial-gradient(ellipse at 88% 12%,rgb(118 56 77 / .055),transparent 48%),radial-gradient(ellipse at 8% 92%,rgb(137 128 111 / .065),transparent 48%)}
.editorial-caption,.editorial-focus-copy{position:absolute;isolation:isolate;color:#30272b}
.editorial-caption{left:calc(100% + 24px);top:22%;width:91%;text-align:left}
.item-right .editorial-caption{left:auto;right:calc(100% + 24px);text-align:right}
.editorial-caption::before,.editorial-focus-copy::before{content:"";position:absolute;inset:-70px -35px;background:radial-gradient(ellipse,rgb(139 58 87 / .085),rgb(139 58 87 / .025) 45%,transparent 72%);z-index:-1;pointer-events:none}
.certificate-caption-eyebrow{display:block;font-size:clamp(9px,1vw,13px);letter-spacing:.24em;color:#777075;line-height:1.5;margin-bottom:14px}
.editorial-caption h2,.editorial-focus-copy h2{font:600 36px/1.15 Georgia,serif;letter-spacing:-.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.certificate-caption-period{font-size:clamp(13px,1.6vw,22px);letter-spacing:.045em;color:#746a70;line-height:1.5;margin:12px 0 0}
.certificate-caption-accent{display:block;width:64px;height:3px;background:#873f58;margin-top:23px}
.item-right .certificate-caption-accent{margin-left:auto}
.editorial-item-visual{box-shadow:0 3px 9px rgb(70 47 40 / .07)}
.editorial-focus-white{background:#fcfaf7;background-image:radial-gradient(ellipse at 88% 35%,rgb(118 56 77 / .055),transparent 52%)}
.editorial-focus-copy{left:71%;width:26%;top:34%}
.editorial-stage::after{background:linear-gradient(to bottom,#fcfaf7 0%,rgb(252 250 247 / .97) 14%,rgb(252 250 247 / .66) 48%,rgb(252 250 247 / .17) 78%,rgb(252 250 247 / 0) 100%)}
.editorial-scroll-rail{background:#e6dfe0}.editorial-scroll-rail span{background:#873f58}
@media(max-width:600px){
 .editorial-item{width:51%!important}.editorial-item.item-left{left:5%!important}.editorial-item.item-right{left:44%!important}
 .editorial-caption{left:calc(100% + 10px);width:68%;top:12%}.item-right .editorial-caption{left:auto;right:calc(100% + 10px)}
 .certificate-caption-eyebrow{font-size:7px;letter-spacing:.12em;margin-bottom:8px}.editorial-caption h2,.editorial-focus-copy h2{font-size:16px;letter-spacing:-.2px}
 .certificate-caption-period{font-size:10px;letter-spacing:0;margin-top:7px}.certificate-caption-accent{width:34px;height:2px;margin-top:12px}
 .editorial-caption::before,.editorial-focus-copy::before{inset:-28px -8px}.editorial-focus-copy{left:71%;width:26%;top:34%}
}
.certificate-caption-period{white-space:nowrap}
@media(max-width:600px){.editorial-focus-copy .certificate-caption-period{font-size:9px;letter-spacing:-.15px}}

/* Keep a clear gutter between alternating certificates throughout the scroll. */
.editorial-caption{width:105%}.item-right .editorial-caption{width:105%}
@media(max-width:600px){.editorial-item{width:46%!important}.editorial-item.item-left{left:5%!important}.editorial-item.item-right{left:52%!important}.editorial-caption,.item-right .editorial-caption{width:84%}}

/* Static sample copy: no document field or text-editing workflow. */
.certificate-caption-description{font-size:clamp(11px,1.15vw,15px);line-height:1.7;color:#82767b;max-width:38ch;margin:15px 0 0;font-weight:400;letter-spacing:0;text-wrap:pretty}
.item-right .certificate-caption-description{margin-left:auto}
@media(max-width:600px){.certificate-caption-description{font-size:9px;line-height:1.5;margin-top:9px}.certificate-caption-accent{margin-top:10px}.editorial-caption{top:7%}}

/* Descriptive copy belongs only to the selected certificate detail. */
.editorial-focus-copy{top:18%;bottom:12%;overflow-y:auto;overflow-x:hidden;padding-right:7px;pointer-events:auto;scrollbar-width:thin;scrollbar-color:#d7c5cb transparent}
.certificate-detail-description{margin-top:20px;color:#82767b;font-size:clamp(11px,1.03vw,14px);line-height:1.75;text-align:left}
.certificate-detail-description p{margin:0 0 14px;text-wrap:pretty}
@media(max-width:600px){.editorial-focus-copy{top:15%;bottom:14%;padding-right:3px}.certificate-detail-description{font-size:10px;line-height:1.6;margin-top:12px}.certificate-detail-description p{margin-bottom:10px}}

/* Composite the detail transition without resizing the canvas each frame. */
.editorial-focus-art{will-change:transform;backface-visibility:hidden}
.editorial-focus-copy,.editorial-focus-white{will-change:opacity,transform}
