/* V7.1 — UDF → PDF Digital Office tool */
.page-araclar-udf-pdf .v6-header{background:rgba(23,23,25,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.udf-shell{width:min(1320px,calc(100% - 64px));margin:0 auto}
.udf-hero{background:#171719;color:#f8f5f1;padding:clamp(120px,10vw,170px) 0 clamp(84px,8vw,132px);position:relative;overflow:hidden}
.udf-hero:before{content:"UDF";position:absolute;right:-.03em;bottom:-.22em;font-family:"Newsreader",serif;font-size:clamp(220px,27vw,510px);line-height:.7;color:rgba(255,255,255,.025);pointer-events:none}
.udf-hero .udf-shell{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.5fr);gap:clamp(48px,8vw,120px);align-items:end}
.udf-hero h1,.udf-workspace h2,.udf-how h2,.udf-technical h2{font-family:"Newsreader",serif;font-weight:400;letter-spacing:-.035em;margin:0}
.udf-hero h1{font-size:clamp(64px,7.7vw,126px);line-height:.87;max-width:940px}
.udf-hero h1 em,.udf-workspace h2 em,.udf-how h2 em,.udf-technical h2 em{font-style:italic;color:#c7b4aa;font-weight:400}
.udf-hero-copy>p:not(.v6-label){max-width:760px;margin:34px 0 0;color:#c9c5c1;font-size:clamp(17px,1.45vw,21px);line-height:1.7}
.udf-trust-row{display:flex;flex-wrap:wrap;gap:14px 28px;margin-top:38px;padding-top:28px;border-top:1px solid rgba(255,255,255,.13);font-size:13px;color:#d5d0cc}
.udf-trust-row span{display:inline-flex;align-items:center;gap:9px}.udf-trust-row i{width:7px;height:7px;border-radius:50%;background:#b39a8e;box-shadow:0 0 0 5px rgba(179,154,142,.09)}
.udf-hero-note{border:1px solid rgba(255,255,255,.13);padding:32px 34px;background:rgba(255,255,255,.035)}
.udf-hero-note>span{display:block;font-family:"Newsreader",serif;font-style:italic;color:#bba69b;font-size:20px;margin-bottom:54px}.udf-hero-note p{color:#bbb6b2;line-height:1.7;margin:0;font-size:14px}.udf-hero-note strong{color:#fff;font-weight:600}

.udf-workspace{background:#f6f2ee;padding:clamp(90px,9vw,150px) 0}
.udf-workspace-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.55fr);gap:60px;align-items:end;margin-bottom:64px}
.udf-workspace h2,.udf-how h2,.udf-technical h2{font-size:clamp(48px,5vw,80px);line-height:.96;color:#242225}
.udf-workspace-head>p{margin:0;color:#696461;font-size:15px;line-height:1.8;max-width:470px}
.udf-tool{background:#fbf9f6;border:1px solid #ded7d1;position:relative}
.udf-drop{min-height:430px;display:grid;place-items:center;text-align:center;padding:60px 32px;cursor:pointer;transition:background .22s ease,border-color .22s ease,transform .22s ease;outline:none}
.udf-drop:hover,.udf-drop:focus-visible,.udf-drop.is-dragging{background:#efe9e4;border-color:#bca89e}.udf-drop.is-dragging{transform:scale(.992)}
.udf-drop-icon{width:76px;height:76px;display:grid;place-items:center;margin-bottom:18px;border:1px solid #cfc6c0;border-radius:50%}.udf-drop-icon svg{width:34px;height:34px;fill:none;stroke:#735f57;stroke-width:1.5}
.udf-drop-kicker{font-size:11px;letter-spacing:.22em;color:#735f57;font-weight:700;margin:0 0 8px}.udf-drop h3{font-family:"Newsreader",serif;font-size:clamp(34px,3vw,52px);font-weight:400;letter-spacing:-.025em;margin:0;color:#242225}.udf-drop>p:not(.udf-drop-kicker){color:#77716e;margin:10px 0 22px}.udf-file-limit{font-size:12px;color:#96908c;letter-spacing:.06em}
.udf-state{padding:38px 42px}
.udf-file-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #ded7d1}.udf-file-badge{width:56px;height:56px;display:grid;place-items:center;background:#171719;color:#f8f5f1;font-weight:700;font-size:12px;letter-spacing:.12em}.udf-file-info{display:flex;flex-direction:column;min-width:0}.udf-file-info strong{font-size:15px;color:#242225;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.udf-file-info span{font-size:12px;color:#817b77;margin-top:5px}.udf-file-remove{appearance:none;border:0;background:transparent;font-size:28px;color:#807976;cursor:pointer;padding:10px}
.udf-progress{padding:30px 0 8px}.udf-progress>div{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#696461;margin-bottom:12px}.udf-progress>div strong{color:#242225}.udf-progress>i{height:3px;background:#ddd4ce;display:block;overflow:hidden}.udf-progress>i b{display:block;height:100%;width:0;background:#735f57;transition:width .2s ease}
.udf-error{margin-top:24px;padding:16px 18px;border:1px solid #cfaea4;background:#f8ebe7;color:#6b3427;font-size:14px;line-height:1.6}
.udf-actions{display:flex;align-items:center;gap:24px;margin-top:30px}.udf-actions .v6-link{appearance:none;background:transparent;border:0;cursor:pointer}.udf-actions button:disabled{opacity:.4;cursor:not-allowed}

.udf-result{margin-top:26px;background:#171719;color:#fff;padding:28px 34px;display:flex;align-items:center;justify-content:space-between;gap:30px}.udf-result-copy{display:flex;align-items:center;gap:20px}.udf-success-mark{width:54px;height:54px;border:1px solid rgba(255,255,255,.24);display:grid;place-items:center;border-radius:50%;font-size:23px;color:#d1bdb3}.udf-result h3{font-family:"Newsreader",serif;font-weight:400;font-size:30px;margin:4px 0;color:#fff}.udf-result p{margin:0;color:#aaa4a0;font-size:12px}.udf-result-actions{display:flex;align-items:center;gap:24px}.udf-result .v6-link{appearance:none;background:transparent;border:0;color:#fff;cursor:pointer}.udf-result button:disabled{opacity:.45}

.udf-preview-wrap{margin-top:42px;padding-top:34px;border-top:1px solid #d8d0ca}.udf-preview-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px}.udf-preview-head>div span{font-size:13px;color:#696461}.udf-preview-head button{appearance:none;border:0;background:transparent;color:#242225;cursor:pointer;font-weight:600}.udf-preview-pages{display:flex;flex-direction:column;gap:24px;align-items:center;background:#e5ded8;padding:34px;max-height:900px;overflow:auto}.udf-preview-page-frame{position:relative;flex:0 0 auto}.udf-preview-pages .udf-doc-page{box-shadow:0 16px 50px rgba(36,34,37,.13);transform-origin:top left}.udf-preview-pages .udf-doc-body{overflow:hidden}

.udf-how{background:#fbf9f6;padding:clamp(88px,8vw,132px) 0}.udf-how .udf-shell{display:grid;grid-template-columns:minmax(300px,.7fr) minmax(0,1.3fr);gap:80px}.udf-how-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #d8d0ca}.udf-how-grid article{padding:28px 28px 10px 0;border-right:1px solid #d8d0ca}.udf-how-grid article:last-child{border-right:0;padding-left:28px}.udf-how-grid article:nth-child(2){padding-left:28px}.udf-how-grid span{font-family:"Newsreader",serif;font-style:italic;color:#92796f}.udf-how-grid h3{font-family:"Newsreader",serif;font-size:28px;font-weight:400;margin:44px 0 12px;color:#242225}.udf-how-grid p{font-size:14px;color:#696461;line-height:1.7;margin:0}

.udf-technical{background:#171719;color:#fff;padding:clamp(90px,9vw,150px) 0}.udf-technical .udf-shell{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(60px,10vw,150px)}.udf-technical h2{color:#f8f5f1}.udf-technical-main>p:last-child{color:#b8b2ae;line-height:1.8;max-width:620px;margin-top:34px}.udf-technical-list{border-top:1px solid rgba(255,255,255,.14)}.udf-technical-list>div{display:grid;grid-template-columns:54px 1fr;gap:18px;padding:26px 0;border-bottom:1px solid rgba(255,255,255,.14)}.udf-technical-list span{font-family:"Newsreader",serif;font-style:italic;color:#bea99f}.udf-technical-list p{margin:0;color:#b8b2ae;line-height:1.7;font-size:14px}.udf-technical-list strong{color:#f8f5f1;font-weight:600}

/* Client-side document preview styles */
.udf-doc-page{position:relative;background:#fff;color:#111;overflow:hidden;font-family:"Times New Roman",Times,serif;box-sizing:border-box}
.udf-doc-page *{box-sizing:border-box}.udf-doc-body{position:absolute;overflow:hidden}.udf-doc-header,.udf-doc-footer{position:absolute;left:0;right:0}.udf-doc-header{top:4pt}.udf-doc-footer{bottom:4pt}.udf-doc-paragraph{position:relative;white-space:normal;overflow-wrap:break-word;word-break:normal;min-height:1em}.udf-doc-paragraph span{white-space:pre-wrap}.udf-doc-list-prefix{display:inline-block;min-width:1.75em;margin-right:.35em}.udf-doc-image{max-width:100%;height:auto;vertical-align:middle}.udf-doc-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0}.udf-doc-table td{vertical-align:top;overflow-wrap:break-word}.udf-doc-table .udf-doc-paragraph{margin-top:0!important;margin-bottom:0!important}.udf-doc-page-number{position:absolute;left:0;right:0;bottom:3pt;text-align:center;font:10pt Arial,sans-serif;color:#333}

@media(max-width:900px){
  .udf-shell{width:min(100% - 36px,720px)}
  .udf-hero{padding:112px 0 78px}.udf-hero .udf-shell,.udf-workspace-head,.udf-how .udf-shell,.udf-technical .udf-shell{grid-template-columns:1fr;gap:40px}.udf-hero h1{font-size:clamp(54px,15vw,82px)}.udf-hero-note>span{margin-bottom:22px}
  .udf-workspace{padding:80px 0}.udf-workspace-head{margin-bottom:36px}.udf-drop{min-height:360px;padding:48px 22px}.udf-state{padding:28px 24px}.udf-actions,.udf-result,.udf-result-actions{align-items:stretch;flex-direction:column}.udf-result{padding:26px 24px}.udf-result-actions{gap:16px;width:100%}.udf-result-actions .v6-btn{width:100%}
  .udf-preview-pages{padding:18px;align-items:center}
  .udf-how-grid{grid-template-columns:1fr}.udf-how-grid article,.udf-how-grid article:nth-child(2),.udf-how-grid article:last-child{padding:24px 0;border-right:0;border-bottom:1px solid #d8d0ca}.udf-how-grid h3{margin-top:22px}
}
@media(max-width:560px){
  .udf-shell{width:calc(100% - 28px)}.udf-hero{padding-top:100px}.udf-trust-row{display:grid;gap:12px}.udf-hero-note{padding:24px}.udf-workspace h2,.udf-how h2,.udf-technical h2{font-size:44px}.udf-drop{min-height:330px}.udf-drop h3{font-size:36px}.udf-file-card{grid-template-columns:auto minmax(0,1fr) auto}.udf-actions{gap:16px}.udf-actions .v6-btn{width:100%}.udf-preview-head{align-items:flex-start}.udf-technical-list>div{grid-template-columns:38px 1fr}
}
@media(prefers-reduced-motion:reduce){.udf-drop,.udf-progress>i b{transition:none!important}}
/* Respect semantic hidden state even when component display rules are declared later. */
.udf-tool [hidden],.udf-result[hidden],.udf-preview-wrap[hidden],.udf-progress[hidden],.udf-error[hidden]{display:none!important}
