:root{color-scheme:dark;--ink:#eff4ee;--muted:#bac6bb;--green:#adebc2;--edge:#354239;--metal:linear-gradient(140deg,#212824,#171c19 48%,#191e1b)}
body{color:var(--ink);background:radial-gradient(ellipse at 72% 0%,#19291f 0,transparent 37rem),#101311;font-family:"Segoe UI",Arial,sans-serif}
header{border-color:var(--edge);background:#101512}.wrap{width:min(1280px,92%)}.brand{gap:8px}.hare{background-color:#bce9c8;border-radius:7px;width:43px}.bar{padding:15px 0}.brand small{color:#b7cbbd}.bar nav a{color:#d5e2d7}
.mast{display:grid;gap:24px;align-items:center;padding:clamp(28px,4vw,56px) 0}.eyebrow,small{color:var(--green);font:10px/1.5 "Courier New",monospace;letter-spacing:.13em}.mast h1{font-size:clamp(55px,7vw,94px);margin:6px 0 8px;font-weight:610;letter-spacing:-.08em}.mast h1 em{color:#b5efca;background:linear-gradient(165deg,#f0fff2 12%,#b1dfbd 46%,#76ae88 70%,#dceedb);background-clip:text;-webkit-text-fill-color:transparent}.lead{font-size:16px;color:var(--muted);max-width:40ch}.featured{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:0}.featured a,.tile{background:var(--metal);border:1px solid var(--edge);border-radius:10px}.featured a{position:relative;display:grid;justify-items:start;padding:10px 14px 14px;font-size:15px;font-weight:650}.featured b{position:absolute;right:14px;top:10px;color:var(--green)}.featured small{margin:2px 0 4px}.tool-art{display:block;width:62px;aspect-ratio:1;background-image:url(metal-atlas.png);background-size:600% 400%;background-repeat:no-repeat;border-radius:9px;flex:none}.featured .tool-art{width:68px}.shelves{padding:24px 0 44px;border-top:1px solid var(--edge)}.shelf-head,.filter-row{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.shelf-head h2{font-size:clamp(24px,3vw,37px);margin:0;letter-spacing:-.045em}.shelf-head #search{width:min(100%,310px);margin:0}.filter-row{margin:16px 0}.filter-row #filters{display:flex;gap:5px;flex-wrap:wrap}.filter-row button{font:inherit;font-size:13px;color:#d1dbd1;background:#1c231e;border:1px solid var(--edge);padding:7px 12px;border-radius:20px;cursor:pointer}.filter-row button[aria-pressed=true]{color:#14271b;background:var(--green);border-color:var(--green)}#count{font:12px monospace;color:var(--muted)}.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:9px;align-items:stretch}.tile{display:flex;align-items:center;gap:12px;padding:12px;min-height:96px;transition:border-color .15s}.tile h3{margin:2px 0;font-size:16px;line-height:1.2;letter-spacing:-.035em}.tile p{font-size:12px;color:var(--muted);line-height:1.4}.tile:hover,.featured a:hover{border-color:#83ae90;text-decoration:none;background:linear-gradient(130deg,#2a372f,#1a211d)}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #bef3cf;outline-offset:3px}footer{border-top:1px solid var(--edge);color:var(--muted)}.detail{padding:25px 0 60px}.detail-head{display:flex;align-items:center;gap:18px;padding:16px 0 24px}.detail-head h1{font-size:clamp(28px,5vw,62px);line-height:1.1;letter-spacing:-.055em;margin:4px 0 9px}.detail-head p{color:var(--muted)}.detail-head .tool-art{width:clamp(66px,10vw,140px)}.workspace{display:grid;gap:14px;align-items:start}.workspace .tool{width:100%;max-width:none;min-width:0;padding:0}.box,.workspace aside,.board-list article{background:var(--metal);border:1px solid var(--edge);border-radius:10px;padding:18px;margin:0}.workspace aside h2{font-size:22px;margin:0 0 10px}.workspace aside h3{font-size:14px;color:var(--green);margin:18px 0 4px}.workspace aside p{color:var(--muted);font-size:15px}input:not([type=color]),textarea,select,#search{color:var(--ink);background:#101612;border:1px solid #526158;border-radius:6px;padding:10px;font:inherit;max-width:100%}.box select,.box input:not([type=color]){display:block;margin-top:5px}.box button{background:var(--green);color:#14271b;border:0}.box button:disabled{opacity:.5}output:not(:empty){background:#17261d;border-left:3px solid #8ad7a2;padding:14px}.board-list a,.board-list button{color:var(--green)}.tool td{border-color:#516253}.tool output canvas{background:white}.work-preview{margin-bottom:16px}
@media(min-width:760px){.mast{grid-template-columns:1.4fr 1fr}.workspace{grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr)}.featured a{grid-template-columns:68px 1fr;gap:10px;align-items:center;padding:14px}.featured a>b{font-size:12px;top:4px;right:6px}}
@media(max-width:570px){.mast{gap:14px}.featured a{display:flex;align-items:center;gap:7px;padding:8px;font-size:12px}.featured b{display:none}.featured .tool-art{width:38px}.featured small{font-size:8px}.shelf-head #search{width:100%}.filter-row button{font-size:12px;padding:6px 9px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{align-items:flex-start;flex-direction:column;gap:6px;padding:10px}.tile .tool-art{width:46px}.tile h3{font-size:14px}.tile p{font-size:12px}.detail-head{gap:10px}.detail-head p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.tile{transition:none}}
/* Çalışma çıktılarının ortak görünümü */
.collection-tool .tool #result:not(:empty){display:block;border-radius:7px;max-width:100%;white-space:normal}
.tool #result p,.tool #result pre{white-space:pre-wrap}
.tool #result pre{max-height:24rem;overflow:auto;font:14px/1.55 monospace}
.tool #result h3{margin:4px 0 12px;font-size:21px}
.tool #result table{width:100%;margin:10px 0 16px;border-collapse:collapse;text-align:left}
.tool #result th{font-size:12px;color:#b9e4c6;padding:8px;background:#24362b}
.tool #result td{font-size:14px;padding:8px;white-space:normal}
.tool #result button,.tool #result .download,.tool .box button[type=button]{display:inline-block;font:inherit;font-size:14px;line-height:1.4;margin:6px 8px 4px 0;padding:8px 12px;background:#263d30;color:#e0f2e4;border:1px solid #53765f;border-radius:5px;cursor:pointer}
.tool #result a{overflow-wrap:anywhere}.tool audio{display:block;width:100%;margin:12px 0}.tool canvas.annotation{touch-action:none;cursor:crosshair;max-height:65vh;width:auto;max-width:100%;margin:12px 0}
.tool canvas[hidden]{display:none}.palette-chip{display:inline-block;width:2.1em;height:1em;vertical-align:middle;margin-right:12px;border:1px solid #789885;border-radius:3px}
.box label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.box input[type=checkbox]{width:18px;height:18px;margin:0}
.filter-row{align-items:flex-start}.filter-row #filters{flex:1}.filter-row #count{padding-top:8px}
@media print{header,.detail-head #art,.workspace aside,.workspace .tool form,.tool #result button,.detail-head p{display:none!important}body,.detail,.workspace .tool,.tool #result:not(:empty){background:#fff!important;color:#111!important;border:0}.workspace{display:block}.detail{width:100%;padding:0}.detail-head{padding:0}.detail-head h1{font-size:24px}.tool #result th,.tool #result td{color:#111;background:#fff;border:1px solid #999}.tool #result tr{break-inside:avoid}}
.filter-row button,.bar nav a{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}.featured.tasks a{display:flex;align-items:center;min-height:52px;padding:10px 14px}.document-tiles label{cursor:pointer}
.family-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;margin:18px 0}.family-grid[hidden]{display:none}.tile.family{flex-direction:row;align-items:center;padding:16px}.family small{margin-top:7px}.library-search{font-size:14px;color:var(--muted)}.library-search #search{width:100%;margin:8px 0}.shelves #options,.shelves #back{font-size:14px;color:var(--green)}#options a,#back{display:inline-flex;align-items:center;min-height:44px}#back[hidden]{display:none}.shelves #cards:not(:empty){margin-top:18px}#shelf-title{scroll-margin-top:16px}.shelves #status{color:var(--muted);font-size:13px;margin-top:12px}
.course-editor{min-width:0;margin:0 0 10px;padding:10px;border:1px solid #425948;border-radius:8px}
.lesson-row{display:grid;grid-template-columns:minmax(68px,1fr) auto 58px auto auto;align-items:end;gap:5px}
.lesson-row label{font-size:12px}.box .lesson-row input{width:100%;min-width:0;padding:8px 4px;margin:3px 0 0}
.box .lesson-row button[type=button]{min-height:36px;margin:0 0 10px;padding:5px 8px}
@media(max-width:440px){.lesson-row{grid-template-columns:minmax(70px,1fr) 36px 46px 36px}.lesson-row button:last-child{grid-column:1/-1;justify-self:end}.course-editor{padding:8px}.lesson-row+.lesson-row{border-top:1px solid #425948}}
