/* The brand's one stylesheet (LiveCoreHub Graphic Standard 2.3, pages 2, 3 and 5): every color, type face, type size, weight, border and corner of every surface is set here, once. A page names a rule and sets only
   where a thing sits. test_brand.py holds it. */
@font-face { font-family: Archivo; src: url(/archivo.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
:root { --ink: #101A38; --accent: #E2622B; --ground: #F6F3EB; --white: #FFFFFF; --muted: #6B7488; --highlight: #FFF1B8; --grayed: #ECEEF2; --alert: #CC0000; --teal: #2F7E6D; --yellow: #F2B33D;
  --dim: rgba(16, 26, 56, .45); --control-height: 32px; --button-least: 96px; }
/* text 16, note 14, label 12, button 12 */
body { background: var(--white); color: var(--ink); font-family: Archivo, system-ui, sans-serif; font-size: 16px; line-height: 1.4; margin: 16px; }
body.ground { background: var(--ground); }
body.clear { background: transparent; margin: 0; }
a { color: var(--ink); }
iframe { border: 0; }
.brand { font-family: Archivo, system-ui, sans-serif; font-weight: 800; }
.note { font-size: 14px; color: var(--ink); }
.label, .tag, .tagline.small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.domain { font-family: Archivo, system-ui, sans-serif; font-weight: 800; font-size: 12px; color: var(--accent); }
.date { font-family: Archivo, system-ui, sans-serif; font-weight: 700; font-size: 14px; color: var(--ink); }
.num { text-align: right; font-weight: 700; padding-right: 8px; }
.alert, #error, .table_card_refusal { color: var(--alert); white-space: pre-wrap; }
/* headings take the proportion to text they had at 14 px, now at 16 px */
.heading_banner { font-size: 32px; }
.heading_card { font-size: 19px; }
.heading_sheet_desk { font-size: 26px; }
.heading_sheet_name { font-size: 21px; font-weight: 700; letter-spacing: .14em; }
.heading_sheet_project { font-size: 19px; }
/* the lockup, one proportion: a logo and a name on one line; the logo is one and a third times the name's size, the gap half of it, both centred. A heading rule on the lockup sets the name's size */
.lockup { display: flex; align-items: center; gap: .5em; }
.lockup img { height: 1.3333em; }
.heading_tagline { font-family: Archivo, system-ui, sans-serif; font-weight: 900; font-size: 24px; color: var(--ink); margin: 4px 0 18px; }
.heading_tagline b { color: var(--accent); font-weight: 900; }
.tagline.small { font-weight: 800; margin: 14px 0 0; }
.tagline.small b { color: var(--accent); font-weight: 800; }
/* a field, a drop-down, a box of several lines: white, Ink, 2 px Muted, 10 px corners, 32 tall; a typed field and a drop-down 75 characters wide, always, whatever they hold; a box of several lines as wide as its card */
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), select, textarea { font-family: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 2px solid var(--muted); border-radius: 10px; height: var(--control-height); padding: 0 8px; box-sizing: border-box; width: calc(75ch + 20px); max-width: 100%; }
textarea { height: auto; min-height: 4em; padding: 6px 8px; width: 100%; }
td input, td select, td textarea { width: 100%; }
input:disabled, select:disabled, textarea:disabled { background: var(--grayed); color: var(--muted); border-color: var(--muted); }
/* a card in parts (ORDER_192): what is shown, gray boxes each with its label above its value, in one line; what is typed, side by side; a wide box takes the card's width; each part set apart from the next */
.card_part { margin-top: 20px; }
.card_part:first-child { margin-top: 0; }
.shown { display: flex; flex-wrap: wrap; gap: 8px; }
.shown_box { display: flex; flex-direction: column; width: 12ch; overflow-wrap: anywhere; box-sizing: border-box; background: var(--grayed); border: 2px solid var(--muted); border-radius: 10px; padding: 4px 12px; }
.shown_box b { text-transform: uppercase; }
.fields { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fields > div { align-self: stretch; }   /* each field on its own line; a box of several lines takes the card's width */
/* a list: white cells, Ink words, a Muted keyline; a row that came from an import needs the eye */
table { border-collapse: collapse; }
td, th { color: var(--ink); background: var(--white); border: 1px solid var(--muted); padding: 4px; vertical-align: top; text-align: left; }
tr.import td { background: var(--highlight); }
tr.verified td { border-color: var(--teal); }   /* a verified row, a specification checked: its line's border turns green (PROJECT_ROW_FORM 2) */
table.project_rows { table-layout: fixed; width: 100%; }   /* the rows' three columns are one width, a third each of what the number and DELETE leave; long words wrap (PROJECT_ROW_FORM 15) */
.cell { overflow-wrap: anywhere; cursor: pointer; min-height: 1.4em; }
.record { padding: 10px 0; border-bottom: 1px solid var(--muted); }
.marked { background: var(--highlight); outline: 3px solid var(--accent); }
#reading { font-weight: 700; }
#stick { background: var(--white); }
body.reading #rows { pointer-events: none; opacity: .6; }
/* the button: Archivo 700, capitals, 12 px, 10 px corners, 2 px border, 32 tall, as wide as its words and 16 px either side, 96 at the least; Ground, .go Accent, .danger Alert */
button, .quiet, .go, .danger { font-family: inherit; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--ground);
  border: 2px solid var(--muted); border-radius: 10px; height: var(--control-height); min-width: var(--button-least); padding: 0 16px; box-sizing: border-box; display: inline-flex; align-items: center;
  justify-content: center; white-space: nowrap; cursor: pointer; }
.go { background: var(--accent); border-color: var(--accent); }
.danger { background: var(--alert); border-color: var(--alert); color: var(--white); }
input.pick { accent-color: var(--teal); }   /* the green check box beside a specification on the report: checked, it is the verified one */
button:disabled, .run.working { background: var(--grayed); color: var(--muted); border-color: var(--muted); cursor: default; }
.run.working { border: 2px dashed var(--accent); cursor: wait; animation: blink 1s infinite; }
@keyframes blink { 50% { border-color: transparent; } }
/* a move arrow holds a glyph and no word: square, at the control height */
.move { min-width: 0; width: var(--control-height); padding: 0; }
/* the file controls' menu: stacked buttons of one width, the width of the longest, DELETE red and last. It opens under its own button, left edges together; table_form.js adds .at_right where that would pass the
   page's right edge, and the edges are then the right ones. It lies over what is under it: nothing moves or grows, and on a card it is fixed to the page so the card does not cut it off (DESK_FORM_FORM 18). */
details.file_controls { display: inline-block; }   /* the box is the button's, so the menu's edges are measured against it */
details.file_controls > summary { cursor: pointer; list-style: none; }
.file_menu { position: absolute; left: 0; z-index: 4; background: var(--white); border: 2px solid var(--muted); border-radius: 10px; width: max-content; display: flex; flex-direction: column; gap: 4px; padding: 6px; }
.file_menu.at_right { left: auto; right: 0; }
.table_card .file_menu { position: fixed; }
.file_menu button { width: 100%; justify-content: flex-start; }
.file_menu hr { width: 100%; border: 0; border-top: 1px solid var(--muted); margin: 8px 0; }
/* a card floats over the page, dimmed behind; its border is 2 px Ink */
.dim, .table_card_overlay { background: var(--dim); }
.table_card { background: var(--white); border: 2px solid var(--ink); border-radius: 10px; }
.card { border: 2px solid var(--ink); border-radius: 14px; background: var(--white); }
.panel.name { border: 3px solid var(--ink); border-radius: 14px; }
.panel.boxed { border: 2px solid var(--ink); border-radius: 12px; background: var(--white); }
.panel .panel_title { background: var(--white); font-size: 14px; letter-spacing: .1em; }
/* the admin's three bordered frames */
.frame_master { border: 3px solid var(--ink); border-radius: 14px; }
.frame_preview { border: 2px solid var(--muted); border-radius: 12px; }
/* the three frame labels, Project Desk Manager, Project Desk Master and Desk: and the desk's name, are one rule: Ink, the text size, bold, one letter spacing */
.frame_label, fieldset.frame_panel legend { color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: .14em; }
.frame_label { background: var(--white); }
fieldset.frame_panel { border: 3px solid var(--ink); border-radius: 14px; }
.sheet_head { background: var(--white); }
.sheet_banner { border: 3px solid var(--ink); border-radius: 14px; }
/* the sheet as printed takes the same colors, face and sizes */
@media print {
  #sheetOverlay { background: none; }
  #sheetOverlay > div { border: 0; box-shadow: none; }
  #sheetBody input, #sheetBody textarea { border: 0; background: none; font: inherit; height: auto; }
}
/* ORDER_308: every look is said in this one file. A page, a script and a card name a rule and type no style, no block of styling and no size; a script that has a place or a size to give, as a thing is
   measured or a frame is opened, hands it to a rule by a variable. */
body.desk table { width: 100%; }
body.desk form { display: inline; }
body.desk .panel { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; margin: 0 0 6px; }
body.desk .panel > span { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
body.desk .panel.name > .nl { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
body.desk .panel.name > .end { justify-content: flex-end; }
body.desk .name { padding: 14px; gap: 14px; }
body.desk .card { padding: 14px; margin: 10px 0; }
body.desk .panel.boxed.titled { position: relative; margin: 28px 0; padding: 14px 10px 8px; }
body.desk .panel.titled > .panel_title { position: absolute; top: -12px; left: 12px; padding: 0 6px; }
#stick { position: sticky; top: 0; z-index: 3; padding-bottom: 6px; }
.banner_controls { display: flex; gap: 8px; align-items: center; }
tr.link_row { cursor: pointer; }
.logo_sign_in { height: 40px; display: block; margin-bottom: 20px; }
details.file_controls { position: relative; }
.table_card .file_menu { top: calc(var(--menu_top) + 4px); left: var(--menu_left); }
.table_card .file_menu.at_right { left: auto; right: var(--menu_right); }
/* the Manager's two panel pages */
body.clear td, body.clear th { padding: 4px 8px; }
body.clear .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
body.clear #error { min-height: 1.4em; }
#panel { margin: 0; padding: 4px 14px 10px; }
#wordsBody { height: 60vh; overflow: auto; }
#wordsRefusal { height: 2em; }   /* the WORDS card holds still: the same size whichever module is chosen */
#panel legend { padding: 0 8px; }
#panel .row { margin: 6px 0; }
#masterRow { padding: 2px 0 4px; }
#masterRow .row { margin: 4px 0; }
.map_cell { cursor: pointer; height: 4.5em; }
.map_head { width: 9em; }
.control_line { display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.control_line > b { flex: 1; }
.control_add { display: flex; gap: 8px; margin-top: 8px; }
.list_table { table-layout: fixed; width: 100%; }
col.col_id { width: 6ch; }
col.col_number { width: 10ch; }
col.col_action { width: 14ch; }
/* the admin's frames: a bay holds the page's place whatever the frame in it does; the frame lies in its bay, taller over what is under it, or open over the whole page */
.frame_label { position: absolute; top: -13px; left: 14px; padding: 0 8px; }
.frame_master { position: relative; padding: 18px 12px 12px; margin: 20px 0 12px; }
.frame_preview { position: relative; padding: 18px 10px 10px; }
.frame_bay { position: relative; z-index: 6; }
.frame_bay.over { z-index: 50; }
.frame_bay.bay_manager { height: 96px; margin: 0 0 6px; }
.frame_bay.bay_controls { height: 48px; margin: 0 0 8px; }
.frame_bay.sized { height: calc(var(--bay_height, 40px) + 8px); }
.frame_in_bay { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.frame_in_bay.tall { height: var(--frame_height); }
.frame_open { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50; }
/* the project's rows */
th.num_head { width: 2em; }
th.act_head { width: 6em; }
.import_actions { display: flex; justify-content: space-between; align-items: center; }
.pre_wrap { white-space: pre-wrap; }
.fact_line { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.push_right { margin-left: auto; }
/* the card (the Desk Form's table_form.css, moved here) */
/* The card (DESK_FORM_MASTER.md 19): floating over the page, dimmed behind; its refusal place, in red, under the head. */
/* above the admin's two frames, which lie at 6 while no card of theirs is open (ORDER_205 TABLE A 12) */
.table_card_overlay { position: fixed; inset: 0; z-index: 10; align-items: center; justify-content: center; }
.table_card { width: min(900px, 92vw); box-sizing: border-box; max-height: 80vh; overflow: auto; padding: 16px; }   /* one width for every card: it grows downward and scrolls */
.table_card_head { display: flex; align-items: center; gap: 8px; }
.table_card_head span { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.table_card_body { margin-top: 12px; }
.ask_card { width: min(calc(75ch + 52px), 92vw); }   /* the card of a question (ORDER_286): its own one width, a field of 75 characters and the card's padding */
/* the Landing Page (ORDER_315): one column, the pieces by their parts; the column pieces side by side, one under another at a phone's width */
.landing { max-width: 960px; margin: 0 auto; }
.landing_header { margin: 8px 0 24px; }
.landing_brand_line { color: var(--accent); font-weight: 800; letter-spacing: .06em; margin: 4px 0 0; }
.heading_landing_headline { font-size: 32px; font-weight: 900; margin: 12px 0; }
.heading_landing { font-size: 24px; font-weight: 900; margin: 32px 0 8px; }
.heading_landing_column { font-size: 19px; font-weight: 800; margin: 0 0 6px; }
.heading_landing_line { font-size: 19px; font-weight: 700; margin: 8px 0; }
.landing_columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 16px 0; }
.landing_column { border: 2px solid var(--ink); border-radius: 12px; padding: 12px 16px; background: var(--white); }
.landing_actions { margin: 24px 0; }
a.go { text-decoration: none; }
.landing_foot { border-top: 2px solid var(--muted); margin-top: 32px; padding-top: 12px; }
